|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /home/queenjbs/www/gallary/ |
Upload File : |
<?
if($idx){
$hit_query = "update photo_$tableName set hit = hit+1 where no='$idx'";
$results = mysql_query($hit_query,$db_con);
$qry = "SELECT * FROM photo_$tableName where no='$idx'";
$result= mysql_query($qry,$db_con);
$row = mysql_fetch_array($result);
$regDate = substr($row[reg_date],0,10);
}
?>
<link type="text/css" rel="stylesheet" media="screen" href="/test/imgshow/layout.css" />
<!--[if IE 9]><link rel="stylesheet" type="text/css" href="/css/ie9Debug.css" /><![endif]-->
<!--[if IE 7]><link rel="stylesheet" type="text/css" href="/css/ie7Debug.css" /><![endif]-->
<script src="/js/chuchun.js" language="javascript"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script type="text/javascript">
var $jQuery = jQuery.noConflict();
</script>
<div class="sub_title">
<h3><img src="/images/sub/sub_title_03.jpg" width="173" height="29" alt="gallery" /></h3>
<ul>
<li>Home</li>
<li>></li>
<li>Gallery</li>
</ul>
</div>
<div class="gal_view_txt">
<ul>
<li class="title" style="white-space:normal;"><?=stripslashes($row[subject])?></li>
<li class="date"><?=$row[start_date]?></li>
<li class="ddabong">
<dl>
<dd class="number" id="txtHint"><?=$row[voted_count]?></dd>
<dd class="dd_img"><img src="/images/sub/ddabong.gif" onclick="cookieChk('<?=$idx?>','<?=$tableName?>');" style="cursor:pointer"/></dd>
</dl>
</li>
</ul>
<h4 style="margin:20px 0 -10px 0;">
<img src="/images/common/notice.gif" width="790" height="76" alt="本サイトで提供する情報、並びに本サイトに掲載されている全ての画像、映像、音楽、文章などに関する著作権その他一切の権利は、CJESエンターテイメントに帰属しています。本サイトで掲載されている情報の全てについて、無断使用・無断複製を禁止いたします。" />
</h4>
<p>
<?=$contents?>
</p>
</div>
<div class="gal_view_list">
<dl>
<dt>
<div id="news" class="multimedia">
<div id="board">
<div class="detail">
<div class="img-slider">
<ul>
<?
$res = "select original_name from files where module_no = '$idx' and module_name='$tableName' and module_type='C' order by no";
$result= mysql_query($res,$db_con);
while ($rows = mysql_fetch_array($result)){
//if (!file_exists($file_full_path))
$file_full_path= "/files/muti/gallery/".$rows[original_name];
?>
<li><img src="<?=$file_full_path?>"/></li>
<?}?>
</ul>
</div>
</div>
</div>
</div>
</dt>
<dd class="notice_img">
<img src="/images/common/notice.gif" width="790" height="76" alt="本サイトで提供する情報、並びに本サイトに掲載されている全ての画像、映像、音楽、文章などに関する著作権その他一切の権利は、CJESエンターテイメントに帰属しています。本サイトで掲載されている情報の全てについて、無断使用・無断複製を禁止いたします。" />
</dd>
<?
$resultP = Get_dbres("SELECT no as num,subject,start_date FROM photo_$tableName where no < '$idx' order by no desc");
$rowP = mysql_fetch_array($resultP);
$resultN = Get_dbres("SELECT min(no) as num,subject,start_date FROM photo_$tableName where no > '$idx'");
$rowN = mysql_fetch_array($resultN);
?>
<?if($rowP[num]){?>
<a href="javascript:formChange('<?=$rowP[num]?>','view');">
<dd>
<ul>
<li class="other_article">prev</li>
<li class="gal_title"><?=stripslashes($rowP[subject])?></li>
<li class="gal_date"><?=$rowP[start_date]?></li>
</ul>
</dd>
</a>
<?}?>
<?if($rowN[num]){?>
<a href="javascript:formChange('<?=$rowN[num]?>','view');">
<dd>
<ul>
<li class="other_article">next</li>
<li class="gal_title"><?=stripslashes($rowN[subject])?></li>
<li class="gal_date"><?=$rowN[start_date]?></li>
</ul>
</dd>
</a>
<?}?>
</dl>
</div>
<div class="gal_btn"><a href="<?=$tab05?>"><img src="/images/sub/btn_list_off.gif" onmouseover="this.src='/images/sub/btn_list_on.gif'" onmouseout="this.src='/images/sub/btn_list_off.gif'" width="93" height="31" style="cursor:pointer;"/></a></div>
<script type="text/javascript" src="/test/imgshow/jquery.easing.js"></script>
<script type="text/javascript" src="/test/imgshow/raindrop.js"></script>
<script type="text/javascript" src="/test/imgshow/common.js"></script>