|
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/admin/ |
Upload File : |
<?include $_SERVER['DOCUMENT_ROOT']."/admin/adminTopMenu.html";?>
<script type="text/javascript" src="/share/js/common.js"></script>
<script type="text/javascript">
function go_List() {
var f = document.form;
f.action = 'video.php';
f.submit();
}
function goLang(lang_code) {
var f = document.form;
f.lang_code.value = lang_code;
f.action = 'video_view.php';
f.submit();
}
function go_View(mediano, seq) {
var f = document.form;
f.mediano.value = mediano;
f.seq.value = seq;
f.action = 'video_view.php';
f.submit();
}
function go_Modify(mediano) {
var f = document.form;
f.idx.value = mediano;
f.action = 'video_write.php';
f.submit();
}
function go_Delete(mediano) {
if(confirm("등록된 글이 삭제 됩니다.\n삭제하시겠습니까?")) {
var f = document.form;
f.fd.value = 'del';
f.mediano.value = mediano;
f.action = './Proc/multimedia_proc.php';
f.submit();
}
}
</script>
<?
$tableName ="movie";
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);
}
?>
<div id="contents">
<h2>Multimedia Video</h2>
<div id="content">
<form name="form" method="post" target="_self" onsubmit="return false;" >
<input type="hidden" name="page" value="1">
<input type="hidden" name="totalRow" value="10" >
<input type="hidden" name="searchType" value="">
<input type="hidden" name="searchStr" value="">
<input type="hidden" name="searchGroup" value="">
<input type="hidden" name="lang_code" value="KO">
<input type="hidden" name="category" value="video">
<input type="hidden" name="idx" value="">
<input type="hidden" name="seq" value="">
</form>
<table summary="관리자모드 게시판입니다" cellspacing="0" >
<colgroup>
<col />
<col width="120" />
<col width="80" />
</colgroup>
<thead>
<tr>
<th><span>title</span></th>
<th>Date</th>
<th>Hit</th>
</tr>
</thead>
<tbody>
<tr>
<td class="depth"><span><?=stripslashes($row[subject])?></span></td>
<td><?=$row[start_date]?></td>
<td><?=$row[hit]?></td>
</tr>
<tr>
<td colspan="3" class="depth">
<br><br>
<object width="853" height="505">
<?=stripslashes($row[contents])?>
</object>
</td>
</tr>
</tbody>
</table>
<table class="write" cellspacing="0" >
<colgroup>
<col width="80" />
<col />
</colgroup>
<!--tbody>
<tr>
<th><strong>▲PREV</strong></th>
<td><a href="javascript:go_View(35, 66);">JYJ Showcase in Seoul highlight</a></td>
</tr>
<tr>
<th><strong>▼NEXT</strong></th>
<td><a href="javascript:go_View(37, 74);">JYJ Worldwide Concert Highlight</td>
</tr>
</tbody>
</table-->
<div class="btn">
<a href="javascript:go_Modify(<?=$idx?>);" class="btn_red">수정하기</a>
<a href="javascript:go_Delete(<?=$idx?>);" class="btn_red">삭제하기</a>
<a href="javascript:go_List();" class="btn_blue">목록보기</a>
</div>
</div>
</div>
<p></p>
</body>
</html>