| Server IP : 119.195.102.159 / Your IP : 216.73.217.134 Web Server : nginx/1.18.0 System : Linux picell 5.15.0-181-generic #191-Ubuntu SMP Fri May 22 19:09:02 UTC 2026 x86_64 User : altablue ( 1000) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /tmp/ |
Upload File : |
<script type="text/javascript">
//<![CDATA[
// ?臾믪쪡亦?嶺뚳퐢?얍칰? function getCookie(name)
{
var nameOfCookie = name + "=";
var x = 0;
while ( x <= document.cookie.length )
{
var y = (x+nameOfCookie.length);
if ( document.cookie.substring( x, y ) == nameOfCookie ) {
if ( (endOfCookie=document.cookie.indexOf( ";", y )) == -1 )
endOfCookie = document.cookie.length;
return unescape( document.cookie.substring( y, endOfCookie ) );
}
x = document.cookie.indexOf( " ", x ) + 1;
if ( x == 0 )
break;
}
return "";
}
<?
/*----------------------------------------------------------------------------*/
// 팝업창 호출
/*----------------------------------------------------------------------------*/
$today = date("Y-m-d");
$result = mysql_query("SELECT * FROM koweb_popup WHERE '$today' BETWEEN start_date AND end_date AND type='default' AND state = 'Y' ORDER BY start_date ASC, end_date ASC, no ASC");
while ($row = mysql_fetch_array($result)) {
$cookie = "pop_" . $row['no'];
$row['width'] = $row['width'] + 20;
$row['height'] = $row['height'] + 20;
if (!$_COOKIE[$cookie]) {
?>
window.open("/popup/popup.html?no=<?=$row['no']?>", "<?=$cookie?>", "width=<?=$row['width']?>,height=<?=$row['height']?>,top=<?=$row['position_width']?>,left=<?=$row['position_height']?>,scrollbars");
<? } } ?>
//]]>
</script>