Server IP : 119.59.102.212 / Your IP : 3.149.249.184 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/popup/ |
Upload File : |
<?php session_start(); import_request_variables('pG', 'p_'); if($p_webname!="") { $webname=trim($p_webname); } if($_SESSION[folder_name]=="") $_SESSION[folder_name]=$webname; include("../../../$_SESSION[web_name]/connect.php"); echo"<meta http-equiv='Content-Type' content='text/html; charset=utf-8'>"; // แสดงข้อมูล $sql="select topic,fulltexts,pic1 from cms_popup"; $result=mysql_query($sql); $data = mysql_fetch_array($result); ?> <title><?echo $data[topic];?></title> <head> <link href="../../ccs/style.css" rel="stylesheet" type="text/css"></head> </head> <table width='100%' border='0' cellspacing='1' align='center' cellpadding='0'> <tr> <td valign="top"> <div align='center'> <?php echo"<table width='98%' border='0' cellpadding='0' cellspacing='0'>"; echo "<tr>"; echo"<td width='3'></td>"; echo"<td><center>$data[topic]<br>"; $check_type=substr($data[pic1],-4); if($data[pic1]!="" and $check_type==".swf") { list($width, $height, $type, $attr) = getimagesize("../../../$_SESSION[folder_name]/mainfile/$data[pic1]"); 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='$width' height='$height'>"; echo" <param name='movie' value='../../../$_SESSION[folder_name]/mainfile/$data[pic1]'>"; echo" <param name='quality' value='high'>"; echo"<embed src='../../../$_SESSION[folder_name]/mainfile/$data[pic1]' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='$width' height='$height'>"; echo"</embed>"; echo"</object>"; } if($data[pic1]!="" and ($check_type==".gif" or $check_type==".GIF" or $check_type==".JPG" or $check_type==".jpg")) { echo"<img src='../../../$_SESSION[folder_name]/mainfile/$data[pic1]'>"; } echo"<br>$data[fulltexts]</center></td>"; echo"<td></td>"; echo"</tr>"; echo"</table>"; echo"</td> </tr> </table>"; ?>