Blame view

templates/admin/catalogs_cities.tpl 2.03 KB
42868d70   andryeyev   Создал GIT
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
  <h3>Ãîðîäà</h3>
  
  <table cellpadding="4" cellspacing="0" border="1" width="600">
  <tr bgcolor="#D4DEFE"><td width="10">¹</td><td><b>Ãîðîäà</b></td><td width="50">Äåéñòâèÿ</td></tr>
  {section name=i loop=$cities}
  <tr bgcolor="#E6FDEF"><td width="10">{$cities[i].id}</td><td><b>{$cities[i].name}</b></td><td width="50"><p><a href="{$smarty.const.URL}admin.php?action={$rules_info_one.action}&modAction=city&editID={$cities[i].id}">Ïðàâêà</a></p><p><a href="{$smarty.const.URL}admin.php?action={$rules_info_one.action}&modAction=city&deleteID={$cities[i].id}" onClick="return del();">Óäàëèòü</a></p></td></tr>
  {/section}
  </table>
  
  <form method="post" action="{$smarty.const.URL}admin.php?action={$rules_info_one.action}&modAction=city">
  <input type="hidden" name="update_id" value="{$smarty.post.update_id|default:$city.id}">
  <table cellpadding="4" cellspacing="0">
  <tr><td><b>Íàçâàíèå Ãîðîäà:</b><font color="red">*</font></td></tr>
  <tr><td><input type="text" name="name" class="input_form" size="60" value="{$smarty.post.name|default:$city.name|stripslashes|escape:"html"}"></td></tr>
  {*
  <tr><td><b>Ïîðÿäîê ñîðòèðîâêè:</b></td></tr>
  <tr><td><input type="text" name="sort" class="input_form" size="5" value="{$smarty.post.sort|default:$brend.sort}"></td></tr>
    <tr bgcolor="#959595"><td colspan="2"><font color="#ffffff"><b>META</b></font></td><td>
    <tr><td><b>title:</b></td></td></tr>
    <tr><td><input type=text name="meta_title" value="{$smarty.post.meta_title|default:$brend.meta_title}" class="input_form" size="100"></td></tr>
    <tr><td><b>description:</b></td></td></tr>
    <tr><td><input type=text class="input_form" value="{$smarty.post.meta_description|default:$brend.meta_description}" name="meta_description" size="100"></td></tr>
    <tr><td><b>keywords:</b></td></td></tr>
    <tr><td><input type=text class="input_form" value="{$smarty.post.meta_keywords|default:$brend.meta_keywords}" name="meta_keywords" size="100"></td></tr>
  *}
  <tr><td align="center">
  <input type="hidden" name="save"><input type="submit" class="submit_blue" value="Ñîõðàíèòü"></td></tr>
  </table>
  </form>