File manager - Edit - /home/autoph/public_html/connect/home/prf_loaddepartmentsUpdates.php
Back
<?php include_once 'core/init.php'; $prfDate = date_create() ->format("Y-m-d"); $prfTime = date('H:i:s'); $myDate = date_create() ->format("Y-m-d"); $prfDateTime=$prfDate. " ".$prfTime; //$myUID = $user_data['u_id']; if(isset($_POST['done'])){ $myDeptID = mysql_escape_string($_POST['myDeptID']); echo "<table style='width:100%;border-collapse:collapse;border:0px solid gray'"; echo "<thead style='border:0px'></thead>"; $getItemCategory = mysql_query("SELECT * FROM `prf_items` WHERE `deleted`=0 AND `dept_id`='$myDeptID' ORDER BY item_description ASC"); echo "<div style='padding:2px;background:white;width:100%;float:left;margin:0px;border-bottom:1px solid gray;padding-bottom:5px'>"; echo "<input id='manualUpdateAddItem' type='text' placeholder='Add Item Description' style='padding:5px;font-family:Yu Gothic Light;font-size:14px;width:90%;color:black;margin:0px;float:left'>"; ?><input type='button' onclick="javascript:getManualItemUpdate(this);" style='padding:4px;font-family:Yu Gothic Light;font-size:14px;width:9%;color:gray;margin:0px;float:left;margin-left:5px;background:#f13c06 ' value='➕'></button><?php echo "</div>"; while($cRow=mysql_fetch_array($getItemCategory)){ ?><tr onclick="javascript:getItemDescription(this);"><?php echo "<td class='categoryTable'>".strtoupper(TRIM($cRow['item_description']))."</td>"; echo "</tr>"; } echo "</table>"; } ?>
| ver. 1.4 |
.
| PHP 7.3.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings