Tryag File Manager
Home
||
Turbo Force
||
B-F Config_Cpanel
Current Path :
/
home
/
egg.eemo.co.kr
/
public_html
/
super5
/
Or
Select Your Path :
Upload File :
New :
File
Dir
/home/egg.eemo.co.kr/public_html/super5/notipopKor_zom2.php
<? include_once("inc_header.php"); $on_menu="popup"; $on_sub_menu=1; ?> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title><?=$_TITLE?></title> <link href="css/bootstrap.min.css" rel="stylesheet"> <link href="font-awesome/css/font-awesome.css" rel="stylesheet"> <link href="css/plugins/iCheck/custom.css" rel="stylesheet"> <link href="css/animate.css" rel="stylesheet"> <link href="css/style.css" rel="stylesheet"> <link href="css/messagebox.css" rel="stylesheet"> </head> <body class="fixed-sidebar"> <div id="wrapper"> <? include_once("inc_sidemenu.php"); ?> <div id="page-wrapper" class="gray-bg"> <? include_once("inc_top.php"); include_once("inc_now_position.php"); ?> <? $result=mysql_query("select * from main_notice_zom2 order by seq asc ") or die(); $i=1; ?> <div class="wrapper wrapper-content animated fadeInRight"> <div class="row"> <div class="col-lg-12"> <div class="ibox "> <div class="ibox-title"> <h5>Custom responsive table </h5> <div class="ibox-tools"> <a class="collapse-link"> <i class="fa fa-chevron-up"></i> </a> <a class="dropdown-toggle" data-toggle="dropdown" href="#"> <i class="fa fa-wrench"></i> </a> <ul class="dropdown-menu dropdown-user"> <li><a href="#" class="dropdown-item">Config option 1</a> </li> <li><a href="#" class="dropdown-item">Config option 2</a> </li> </ul> <a class="close-link"> <i class="fa fa-times"></i> </a> </div> </div> <div class="ibox-content"> <div class="table-responsive"> <table class="table"> <thead> <tr> <th>no</th> <th>팝업 우선순위 </th> <th>팝업 시작일 </th> <th>팝업 종료일</th> <th>상태</th> <th>수정/삭제</th> </tr> </thead> <tbody> <? while($rs=mysql_fetch_array($result)) { ?> <tr> <td><?=$i?></td> <td class="boardTableFirst"><?=$rs[seq]?></td> <td><a onclick="if(document.getElementById('td2_<?=$rs[no]?>').style.display=='none') {document.getElementById('td2_<?=$rs[no]?>').style.display='table-cell';}else {document.getElementById('td2_<?=$rs[no]?>').style.display='none';}" style='cursor:pointer'><?=$rs[sdate]?></a></td> <td><a onclick="if(document.getElementById('td2_<?=$rs[no]?>').style.display=='none') {document.getElementById('td2_<?=$rs[no]?>').style.display='table-cell';}else {document.getElementById('td2_<?=$rs[no]?>').style.display='none';}" style='cursor:pointer'><?=$rs[edate]?></a></td> <td> <? if(strtotime($rs[sdate]) <= time() && strtotime($rs[edate]) >= time()) { echo "<font color='red'>게시중</font>"; } else { echo "팝업종료"; } ?> </td> <td> <a class="btn btn-primary btn-xs btn-rounded" href="#" onClick="location.href='notipopKor_zom2_mody.php?no=<?=$rs[no]?>&c_page=<?=$c_page?>&find=<?=$find?>&search=<?=$search?>'"><i class="fa fa-pencil-square-o"></i> 수정</a> <a class="btn btn-danger btn-xs btn-rounded" href="#" onClick="if(confirm(' 삭제하시겠습니까?')) {location.href='notipopKor_zom2_del_do.php?no=<?=urlencode(base64_encode($rs[no]))?>&c_page=<?=$c_page?>&find=<?=$find?>&search=<?=$search?>';}" ><i class="fa fa-times"></i> 삭제</a> <a class="btn btn-info btn-xs btn-rounded" href="#" onclick="if(document.getElementById('td2_<?=$rs[no]?>').style.display=='none') {document.getElementById('td2_<?=$rs[no]?>').style.display='table-cell';}else {document.getElementById('td2_<?=$rs[no]?>').style.display='none';}"><i class="fa fa-info"></i> 보기</a> </td> </tr> <tr> <td colspan='10' id='td2_<?=$rs[no]?>' class="content_view" style='display:none;text-align:left'> <p><?=$rs[cont]?></p> </td> </tr> <?$i++;}?> </tbody> </table> <div class="pull-right"><button class="btn btn-info " type="button" onclick="location.href='notipopKor_zom2_write.php'"><i class="fa fa-plus"></i> 팝업추가</button></div> </div> </div> </div> </div> </div> </div> <? include_once("inc_footer.php"); ?> </div> </div> <!-- Mainly scripts --> <script src="js/jquery-3.1.1.min.js"></script> <script src="js/popper.min.js"></script> <script src="js/bootstrap.js"></script> <script src="js/plugins/metisMenu/jquery.metisMenu.js"></script> <script src="js/plugins/slimscroll/jquery.slimscroll.min.js"></script> <!-- Peity --> <script src="js/plugins/peity/jquery.peity.min.js"></script> <!-- Custom and plugin javascript --> <script src="js/inspinia.js"></script> <script src="js/plugins/pace/pace.min.js"></script> <!-- iCheck --> <script src="js/plugins/iCheck/icheck.min.js"></script> <!-- Peity --> <script src="js/demo/peity-demo.js"></script> <script src="css/messagebox.js"></script> <script> $(document).ready(function(){ $('.i-checks').iCheck({ checkboxClass: 'icheckbox_square-green', radioClass: 'iradio_square-green', }); }); </script> </body> </html>