403Webshell
Server IP : 119.59.102.212  /  Your IP : 3.22.217.190
Web Server : Apache/2
System : Linux narin 2.6.32-042stab142.1 #1 SMP Tue Jan 28 23:44:17 MSK 2020 x86_64
User : yangkam ( 1022)
PHP Version : 5.6.40
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/yangkam/domains/yangkam.go.th/public_html/coremain/module/sponser/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/yangkam/domains/yangkam.go.th/public_html/coremain/module/sponser/sponser.php
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<?php
if($p_del_pic!="")		{  	$del_pic=trim($p_del_pic);		}
// ################################# ?????????? ############
if ($del_pic != "") {
  $sql = "select id_sponser,pic_name from cms_link_sponser where id_sponser='$del_pic'";
  $result = mysql_query($sql);
  $data = mysql_fetch_row($result);
  if ($data[1] != "") {
    unlink("$_SESSION[web_name]/module_sponser/$data[1]");
  }

  $sql = "DELETE FROM cms_link_sponser WHERE id_sponser=$del_pic";
  $result = mysql_query($sql);
  refresh_data("index.php", "0");
}

$count = 0;
$sql_sub = "select * from cms_link_sponser WHERE id_top='$id_top' and status='1' order by position ASC limit 6";
$result_sub = mysql_query($sql_sub);
while ($data_sub = mysql_fetch_array($result_sub)) {  // ส่วน display รูป และ ส่ง link
  $count++;
  $strings1 = substr($data_sub[pic_name], -4);
  $strings1 = strtolower($strings1);
  
  if ($strings1 == ".swf") {
    echo"<tr><td align=center>";
    echo"<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='$data_sub[pic_description]' height='$data_sub[link]'>";
    echo"   <param name='movie' value='$_SESSION[web_name]/module_sponser/{$data_sub[pic_name]}'>";
    echo"  <param name='quality' value='high'>";
    echo"<embed src='$_SESSION[web_name]/module_sponser/{$data_sub[pic_name]}' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='$data_sub[pic_description]' height='$data_sub[link]'>";
    echo"</embed>";
    echo"</object>";
    echo "</td></tr>";
    if ($_SESSION['admin_web'] == "admin") {
      echo"	<tr bgcolor='$_SESSION[bg_menu]'>";
      echo"	<td colspan=2 height='20' align='center'>";
      echo "<a href='index.php?mod=sponser_edit&path=sponser&id_sponser=$data_sub[id_sponser]'>";
      echo "<img src='coremain/images/edit.gif' border=0 title='แก้ไขข้อมูล'>";
      echo"</a>";
      box_delete("index.php?del_pic=$data_sub[id_sponser]", "del_popup");

      echo"<br><br></td>";
      echo "</tr>";
    }
  } else {
?>
    <tr bgcolor='<?php echo $_SESSION['bg_menu'] ?>' height='20'>
      <td colspan=2  align='center'>
        <a href='<?php echo $data_sub['link'] ?>' target='_blank' title='<?php echo $data_sub['pic_description'] ?>'>
          <img src='<?php echo $_SESSION['web_name'] ?>/module_sponser/<?php echo $data_sub['pic_name'] ?>' class="img-corner">
        </a>
      </td>
    </tr>
  <?php if ($_SESSION['admin_web'] == "admin") { ?>
    <tr bgcolor='<?php echo $_SESSION['bg_menu'] ?>'>
      <td colspan=2 height='20' align='center'>
        <a href='index.php?mod=sponser_edit&path=sponser&id_sponser=<?php echo $data_sub['id_sponser'] ?>'>
          <img src='coremain/images/edit.gif' border=0 title='แก้ไขข้อมูล'>
        </a>
        <?php box_delete("index.php?del_pic=$data_sub[id_sponser]", "del_popup"); ?>
        <br><br>
      </td>
    </tr>
  <?php
      }
      
//    }
    
  }
  
}

if ($count > 5) {
  echo"	<tr bgcolor='$_SESSION[bg_menu]'>";
  echo"	<td colspan=2  align='center'>";
  echo "<a href='index.php?path=sponser&mod=sponser_more&id_top=$data_top[id_top]'><img src='/coremain/images/more.gif' border=0 title='ดูข้อมูลเพิ่ม'></a>";
  echo"</td>";
  echo "</tr>";
}
?>
</table>

Youez - 2016 - github.com/yon3zu
LinuXploit