MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.133.108.172
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home2/ppcad7no/irshadwoodenscrap.com/wknadmin/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/irshadwoodenscrap.com/wknadmin/manage-header.php
<?php
require_once("../includes/dbsmain.inc.php");
?>
<link href="styles.css" rel="stylesheet" type="text/css">
<script language="JavaScript" type="text/javascript" src="../includes/general.js"></script>
<? include("top.inc.php");?>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td id="pageHead"><div id="txtPageHead">Manage Header</div></td>
              </tr>
            </table>
            <strong class="msg" style="margin-left:500px;">
            <?=display_sess_msg()?>
            </strong>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td id="content"><br />
                  <div align="right"> <a href="header_f.php" style="font-size:13px; font-weight:bold; margin-right:15px;">Add New Header</a> </div>
                  <form method="post" name="form1" id="form1" onSubmit="confirm_submit(this)">
                    <table width="100%"  border="0" cellpadding="0" cellspacing="1" class="tableList">
                      <tr>
                        <th width="11%" nowrap="nowrap" style="font-size:12px; padding:9px;">Header Logo </th>
                        <th width="17%" nowrap="nowrap">Welcome Image </th>
                        <?php /*?><th width="8%" nowrap="nowrap">Status
                          <?=sort_arrows('header_status')?></th><?php */?>
                        <th width="4%">&nbsp;</th>
                        <?php /*?><th width="4%"><input name="check_all" type="checkbox" id="check_all" value="1" onClick="checkall(this.form)" /></th><?php */?>
                      </tr>
                      <?php
$sql = "select * from tbl_header where 1";	
$result = db_query($sql);				  
while ($line_raw = mysqli_fetch_array($result)) {
	@extract($line_raw);
	$css = ($css=='trOdd')?'trEven':'trOdd';
?>
                      <tr class="<?=$css?>">
                        <td nowrap="nowrap" align="center"><img src="../header_files/<?=$line_raw['header_logo']?>" width="280" height="80" /> </td>
                        <td nowrap="nowrap" align="center"><img src="../header_files/<?=$header_welcome_image?>" width="280" height="40" /> </td>
                        <?php /*?><td nowrap="nowrap"><?=$header_status?></td><?php */?>
                        <td align="center"><a href="header_f.php?header_id=<?=$header_id?>"><img src="images/icons/edit.png" alt="Edit" width="18" height="18" border="0" /></a></td>
                        <?php /*?><td align="center"><input name="arr_ids[]" type="checkbox" id="arr_ids[]" value="<?=$header_id?>" /></td><?php */?>
                      </tr>
                      <? } ?>
                    </table>
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td align="right" style="padding:2px"><!input type="submit" name="Activate" value="Activate" class="button"/>
                          <!input type="submit" name="Deactivate" value="Deactivate" class="button" />
                          <!input type="submit" name="Delete" value="Delete"  class="buttonDelete"/>
                        </td>
                      </tr>
                    </table>
                  </form></td>
              </tr>
            </table>
            <?php include("bottom.inc.php");?>

MMCT - 2023