Blame view

mobile/tmp/tmpl/tpl_4ef1628b_form__dGAaJCSzJNaY1ZyrQ7nzbA.php 2.53 KB
a1684257   Administrator   first commit
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
  <?php 
  function tpl_4ef1628b_form__dGAaJCSzJNaY1ZyrQ7nzbA($tpl, $ctx) {
  $_thistpl = $tpl ;
  $_translator = $tpl->getTranslator() ;
  ?>
  <div style="width:700px;height:420px;overflow:auto" id="conteiner">
  		<form id="form_page" class="form" method="post" enctype="multipart/form-data" act="save">
  		<?php 
  $ctx->noThrow(true) ;
  if (!phptal_isempty($_tmp_1 = ($ctx->path($ctx->row, 'item_id', true)))):  ;
  $_tmp_1 = ' value="'.phptal_escape($_tmp_1).'"' ;
  else:  ;
  $_tmp_1 = '' ;
  endif ;
  $ctx->noThrow(false) ;
  ?>
  <input type="hidden" name="id"<?php echo $_tmp_1 ?>/>
  		<table align="center">
  		
  			
      <tr>
  				<td width="25%" class="info">* Название</td>
  				<td valign="top">
  					<?php 
  $ctx->noThrow(true) ;
  if (!phptal_isempty($_tmp_1 = ($ctx->path($ctx->row, 'title', true)))):  ;
  $_tmp_1 = ' value="'.phptal_escape($_tmp_1).'"' ;
  else:  ;
  $_tmp_1 = '' ;
  endif ;
  $ctx->noThrow(false) ;
  ?>
  <input type="text" style="width:400px" name="form[title]"<?php echo $_tmp_1 ?>/>
  				</td>
  			</tr>
  		
  			 <tr>
  				  <td class="info">* Категория</td>
  				  <td valign="top">
  					  <select name="form[category_id]"><?php 
  $ctx->noThrow(true) ;
  if (!phptal_isempty($_tmp_1 = $ctx->path($ctx->row, 'categorySelect', true))):  ;
  echo phptal_tostring($_tmp_1) ;
  endif ;
  $ctx->noThrow(false) ;
  ?>
  </select>
  				  </td>
  			 </tr>
  
  			<tr>
  				<td width="25%" class="info">Описание</td>
  				<td valign="top">
  					<textarea name="desc" id="desc" type="CKEditor" wysiwyg="true"><?php 
  $ctx->noThrow(true) ;
  if (!phptal_isempty($_tmp_1 = $ctx->path($ctx->row, 'desc', true))):  ;
  ?>
  <?php 
  echo phptal_escape($_tmp_1) ;
  endif ;
  $ctx->noThrow(false) ;
  ?>
  </textarea>
  				</td>
  			</tr>
  
  			<tr>
  				<td class="info">Превью-фото</td>
  				<td valign="top">
  				<div id="img1"><?php echo phptal_tostring($ctx->path($ctx->row, 'upl_img')); ?>
  </div>
  				</td>
  			</tr>
  			
  			<tr>
  				<td class="info">Фото работы</td>
  				<td valign="top">
  				<div id="img2"><?php echo phptal_tostring($ctx->path($ctx->row, 'upl_img2')); ?>
  </div>
  				</td>
  			</tr>
  			
  		  
  		
  			<tr>
  				<td colspan="2" style="text-align:right">
  					<input type="submit" id="save_b" value="<?php echo phptal_escape($ctx->SAVE) ?>"/>
  					<input type="button" onclick="wnd.close()" value="<?php echo phptal_escape($ctx->CLOSE) ?>"/>
  				</td>
  				
  			</tr>
  		</table>
  
  		</form>
  </div><?php 
  /* end */ ;
  
  }
  
  ?><?php /* 
  *** DO NOT EDIT THIS FILE ***
  
  Generated by PHPTAL from /home/shasha/www/pr25_autocatalog/source/modules/autocatalog/tmpl/control_posts/form.html (edit that file instead) */; ?>