@Ghazascanner
_2019runbot
Ghazascanner File Manager
server :Linux adweb87 2.6.32-754.el6.x86_64 #1 SMP Tue Jun 19 21:26:04 UTC 2018 x86_64
Current Path :
/
home
/
sanchung
/
public_html
/
admin
/
_schedule
/
Path :
Upload File :
New :
File
Dir
/home/sanchung/public_html/admin/_schedule/schedule_form.php
<? if($num){ $row = $mysql->row("adw_schedule", "*", "where num='$num'"); $_time = explode(":", $row[time]); } $sdate = $year."-".$month."-".$day; if($amode == "schedule_form") $title = "½ºÄÉÁì µî·Ï"; else if($amode == "schedule_modify") $title = "½ºÄÉÁì ¼öÁ¤"; echo " <script type='text/javascript'> <!-- function sformchk(){ var f = document.sform; if(!valcheck(f.subject, 1, 'Á¦¸ñÀ» ÀÔ·ÂÇØ ÁÖ¼¼¿ä ')) return false;; if(!valcheck(f.content, 1, '³»¿ëÀ» ÀÔ·ÂÇØ ÁÖ¼¼¿ä ')) return false;; f.submit(); } function delchk(){ if(confirm('»èÁ¦ ÇϽðڽÀ´Ï±î? ')){ location.replace('./_schedule/proc.php?motion=schedule_delete&num=$row[num]&sdate=$sdate'); } } --> </script> <form name='sform' method='post' action='./_schedule/proc.php' onsubmit='return sformchk()'> <input type='hidden' name='motion' value='$amode' /> <input type='hidden' name='num' value='$num' /> <h2>$title</h2> <table id='d-table'> <tr> <th height='30'>³¯ Â¥</th> <td><input type='text' name='sdate' value='$sdate' /></td> </tr> <!-- <tr'> <th height='30>½Ã °£</th> <td><select name='time1' style='font-size:12px'>"; for($i=1; $i<=24; $i++){ $time = ($i<10) ? "0".$i : $i; echo"<option value='$time' "; if($time == $_time[0]) echo"selected"; echo">$time ½Ã</option>"; } echo" </select> <select name='time2' style='font-size:12px'> <option value='00' "; if($_time[1] == "00") echo"selected"; echo">00 ºÐ</option> <option value='10' "; if($_time[1] == "10") echo"selected"; echo">10 ºÐ</option> <option value='20' "; if($_time[1] == "20") echo"selected"; echo">20 ºÐ</option> <option value='30' "; if($_time[1] == "30") echo"selected"; echo">30 ºÐ</option> <option value='40' "; if($_time[1] == "40") echo"selected"; echo">40 ºÐ</option> <option value='50' "; if($_time[1] == "50") echo"selected"; echo">50 ºÐ</option> </select></td> </tr> --> <tr> <th height='30'>Á¦ ¸ñ</th> <td><input type='text' name='subject' value='$row[subject]' style='width:90%' /></td> </tr> <tr> <th>³» ¿ë</th> <td ><textarea name='content' style='width:98%; margin:5px 0px; height:150px; word-break:break-all' cols='' rows=''>$row[content]</textarea></td> </tr> </table> <p id='bottom-btn'> <input type='submit' value=' È® ÀÎ ' /> <input type='button' value=' Ãë ¼Ò ' onclick='history.back();' />"; if($amode == "schedule_modify"){ echo" <input type='button' value=' »è Á¦ ' onclick='delchk()' />"; } echo" </p> </form> "; ?>