/home/banprang/domains/plai.go.th/public_html/coremain/module/template/manage_template.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?php
// permssion
if($_SESSION['admin_web']!="admin"){
    
permission_fail();            
}

$navig['manage_user']="เปลี่ยนรูปแบบ";
navigator($navig);
echo 
"<br>";
bar_header("เปลี่ยนรูปแบบ"); // Bar_Header
fieldset_top("เปลี่ยนรูปแบบ");
?>

<form name="form1" method="post" action="index.php?mod=manage_template&path=template">
<table width="100%" border="0" cellpadding="0" cellspacing="0" align=center>
<?php
for($i 0$i 10$i++){
  echo 
$i == '<tr>' '';
  
$no $i 1;
  
$val $no 10 '0'.$no $no;
?>
    <td align="center">
      <img src="coremain/images/template/T<?= $val ?>.jpg" border="0" width="250" />
      <br/>
      <input name="template" type="radio" value="t<?= $val ?><?= $_SESSION['template'] == 't'.$val 'checked="checked"' '' ?> />รูปแบบที่ <?= $no ?>
      <br/><br/>
    </td>
<?php
  
echo $i == '</tr>' '';
}
?>

  <?php    button_text('เปลี่ยนรูปแบบ''Submit'2); ?>
<!--<tr><td colspan='2' align='center'><br><br><input type='submit' name='Submit' value='เปลี่ยนรูปแบบ' onmouseover=this.style.cursor='hand'></td></tr>-->




</table>
</form>
<?php fieldset_down();?>