File manager - Edit - /home/autoph/public_html/portal/includes/menu/masterfile/pms_performance_by_company.php
Back
<?php echo "<h3 class='lightGradient' style='width:99.5%;font-family:Calibri Light;font-size:16px;font-weight:normal;padding-left:5px;padding-top:2px;'>ACTIVE COMPANIES</h3>"; echo "<div style='top:114px;left:97.8%;position:absolute;z-index:3'> <a href='main_new.php?view=&sview=&tab=0#id-0' style='display:block;width:17px;height:17px;border:1px solid gray;background:lightgray;border-radius:2px'> <center>X</center> </a> </div>"; echo "<div style='width:99.8%;border:0px solid gray;min-height:400px;background:#f4f4f4'>"; ?> <div class='lightGradientA' style='width:98.5%;height:40px;border:1px solid lightgray;padding-left:20px;padding-top:3px'> <a href='main_new.php?view=100&sview=100&sid=ADV&action=new&tab=0#id-0'><ABBR title='Add New Record'><img src='./images/new.png' onmouseover="this.src='images/new_.png';" onmouseout="this.src='images/new.png';" /></ABBR></a> <a href='main_new.php?view=100&sview=721&sid=ADV&action=edit&tab=0#id-0'><ABBR title='Advance Search Module'><img src='./images/filter_a.png' onmouseover="this.src='images/filter_b.png';" onmouseout="this.src='images/filter_a.png';" /></ABBR></a> <div class='lightGradientA' style='margin-top:5px;position:relative;height:30px;width:500px;border:1px solid #f2f2f;top:-40px;left:100px;padding-top:4px;border-left:1px solid lightgray;padding-left:30px'> <form action='' method='GET'> <input type='hidden' name='view' value='100'> <input type='hidden' name='sview' value='100'> <input type='hidden' name='tab' value='1'> <input type='hidden' name='sid' value='M1S'> Search : <input type='text' name='searchBox' value='' style='padding-left:10px;width:300px;border:1px solid gray;background:white;height:30px;border-radius:5px 0px 0px 5px'> <input type='submit' name='goSearch' value='Search' style='width:70px;border:1px solid gray;height:30px;border-radius:0px 5px 5px 0px'> </form> </div> <!--<div align='left' style='top:137px;left:53%;height:30px;width:200px;float:left;position:absolute;border:0px solid red'> <ABBR title='Edit Record'><img src='./images/advancesearch_a.png' onmouseover="this.src='images/advancesearch_b.png';" onmouseout="this.src='images/advancesearch_a.png';" /></ABBR></a> </div>--> </div> <div class='contentTable'> <?php $qq=mysql_query("SELECT * FROM `company` WHERE `status`='1' AND `id`='$compID' ORDER by `name` DESC "); echo "<div STYLE='height: 490px; width: 100%; font-size: 12px; overflow: auto;'> <table style='width:100%; height:100% border:1px solid gray; border-collapse:collapse;'>"; echo "<tr> <th class='Gradient' align='left' style='width:2%;background:#f5f5f5;border:1px solid lightgray;font-size:12px'></th> <th class='Gradient' align='left' style='width:7%;background:#f5f5f5;border:1px solid lightgray;font-size:12px'>COMPANY CODE</th> <th class='Gradient' align='left' style='width:25%;background:#f5f5f5;border:1px solid lightgray;font-size:12px'>COMPANY NAME</th> <th class='Gradient' align='left' style='width:30%;background:#f5f5f5;border:1px solid lightgray;font-size:12px'>ADDRESS</th> <th class='Gradient' align='left' style='width:7%;background:#f5f5f5;border:1px solid lightgray;font-size:12px'>TRUNKLINE</th> <th class='Gradient' align='left' style='width:7%;background:#f5f5f5;border:1px solid lightgray;font-size:12px'>FAX NUMBER</th> <th class='Gradient' align='left' style='width:20%;background:#f5f5f5;border:1px solid lightgray;font-size:12px'>OFFICIAL EMAIL</th> <th class='Gradient' align='left' style='width:6%;background:#f5f5f5;border:1px solid lightgray;font-size:12px'>STATUS</th>"; echo "</tr>"; while($row = mysql_fetch_array($qq)){ echo "<tr>"; echo "<td class='tableList'> <a href='main_new.php?id=".$row['id']."&view=100&sview=100&sid=ADV&action=edit&tab=0#id-0'> <img src='images/rica/edit_a.png'></img></a> </td>"; echo "<td class='tableList'>" . STRTOUPPER($row['code']) . "</td>"; echo "<td class='tableList'>" . STRTOUPPER($row['name']) . "</td>"; echo "<td class='tableList'>" .STRTOUPPER($row['address']) . "</td>"; echo "<td class='tableList'>" .STRTOUPPER($row['trunk_line']) . "</td>"; echo "<td class='tableList'>" .STRTOUPPER($row['fax_number']) . "</td>"; echo "<td class='tableList'>" .STRTOUPPER($row['email']) . "</td>"; echo "<td class='tableList'>"; $stat = $row['status']; if($stat == 1){ echo 'ACTIVE'; }else { echo 'INACTIVE'; } echo "</td>"; echo "</tr>"; } echo "</table>"; ?> </div> <?php echo "</div>"; ?>
| ver. 1.4 |
.
| PHP 7.3.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings