Merge branch 'master' of github.com:gnuboard/yc4s

This commit is contained in:
whitedot
2013-04-12 14:33:18 +09:00
3 changed files with 6 additions and 3 deletions

View File

@ -121,7 +121,5 @@ include_once(G4_SHOP_PATH.'/shop.head.php');
<BR><BR> <BR><BR>
<? <?
include G4_SHOP_PATH.'/newwin.inc.php'; // 새창띄우기
include_once(G4_SHOP_PATH.'/shop.tail.php'); include_once(G4_SHOP_PATH.'/shop.tail.php');
?> ?>

View File

@ -14,7 +14,7 @@ for ($i=0; $row_nw=sql_fetch_array($result); $i++)
$sql = " select * from {$g4['shop_new_win_table']} where nw_id = '{$row_nw['nw_id']}' "; $sql = " select * from {$g4['shop_new_win_table']} where nw_id = '{$row_nw['nw_id']}' ";
$nw = sql_fetch($sql); $nw = sql_fetch($sql);
?> ?>
<div id="div_popup_<? echo $nw['nw_id'] ?>" style="position:absolute;left:<?=$nw['nw_left']?>px;top:<?=$nw['nw_top']?>px;background-color:#eee;z-index:100"> <div id="div_popup_<? echo $nw['nw_id'] ?>" style="position:absolute;left:<?=$nw['nw_left']?>px;top:<?=$nw['nw_top']?>px;background-color:#eee">
<table width="<? echo $nw['nw_width'] ?>" height="<? echo $nw['nw_height'] ?>" cellpadding="0" cellspacing="0"> <table width="<? echo $nw['nw_width'] ?>" height="<? echo $nw['nw_height'] ?>" cellpadding="0" cellspacing="0">
<tr> <tr>
<td valign="top"><?=conv_content($nw['nw_content'], 1);?></td> <td valign="top"><?=conv_content($nw['nw_content'], 1);?></td>

View File

@ -29,6 +29,11 @@ $table_width = 900;
<table align=center cellpadding=0 cellspacing=0 border=0> <table align=center cellpadding=0 cellspacing=0 border=0>
<tr> <tr>
<td width='900'> <td width='900'>
<!-- 새창 -->
<? if(defined('_INDEX_')) { // index에서만 실행 ?>
<div style="position:relative;z-index:100"><? include G4_SHOP_PATH.'/newwin.inc.php'; // 새창띄우기 ?></div>
<? } ?>
<!-- 오늘본 상품 {--> <!-- 오늘본 상품 {-->
<div style="position:relative"> <div style="position:relative">
<div style='position:absolute; top:70px; left:<?=($table_width+10)?>px'> <div style='position:absolute; top:70px; left:<?=($table_width+10)?>px'>