bhq@iemsoft.cn
2018-11-27 e2b48dac099e43f4b3243cdf19a7522e4b5eccbe
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
<?php echo $this->fetch('pageheader.htm'); ?>
<!-- start add new category form -->
<div class="main-div">
  <form action="street.php" method="post" name="theForm" enctype="multipart/form-data">
    <table width="100%" id="general-table">
      <tr>
        <td class="label">店铺类型:</td>
        <td>
        <select name="supplier_type">
        <option value="0">请选择</option>
        <?php $_from = $this->_var['stype']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('value', 'name');if (count($_from)):
    foreach ($_from AS $this->_var['value'] => $this->_var['name']):
?>
        <option value="<?php echo $this->_var['value']; ?>" <?php if ($this->_var['sinfo']['supplier_type'] == $this->_var['value']): ?> selected <?php endif; ?>><?php echo $this->_var['name']; ?></option>
        <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
        </select>
        <font color="red">*</font> <span class="notice-span"></span>
        </td>
      </tr>
      <tr>
        <td class="label">店铺名称:</td>
        <td><input type="text" name="supplier_name" value="<?php echo $this->_var['sinfo']['supplier_name']; ?>">
        <font color="red">*</font> <span class="notice-span"></span>
        </td>
      </tr>
      <tr>
        <td class="label">店铺标题:</td>
        <td><input type="text" name="supplier_title" value="<?php echo $this->_var['sinfo']['supplier_title']; ?>" maxlength="13">
        <font color="red">*</font> <span class="notice-span">为保证美观度,店铺标题控制在13个文字以内</span>
        </td>
      </tr>
      
          
      <tr>
        <td class="label">店铺海报:</td>
        <td><input name="logo" type="file" size="40" />
        <?php if ($this->_var['sinfo']['logo']): ?>
            <a href="?act=del&code=logo"><img src="images/no.gif" alt="Delete" border="0" /></a> <img src="images/yes.gif" border="0" onmouseover="showImg('logo_layer', 'show')" onmouseout="showImg('logo_layer', 'hide')" />
            <div id="logo_layer" style="position:absolute; width:100px; height:100px; z-index:1; visibility:hidden" border="1">
              <img src="<?php echo $this->_var['sinfo']['logo']; ?>" border="0" />
            </div>
        <?php else: ?>
            <?php if ($this->_var['sinfo']['logo'] != ""): ?>
            <img src="images/yes.gif" alt="yes" />
            <?php else: ?>
            <img src="images/no.gif" alt="no" />
            <?php endif; ?>
        <?php endif; ?>
        <font color="red">*</font> <span class="notice-span">为达到前台图标显示最佳状态,建议上传150X150px图片</span>
        </td>
      </tr>
      <tr>
        <td class="label">是否推荐:</td>
        <td><input type="radio" name="is_groom" disabled value="1" <?php if ($this->_var['sinfo']['is_groom'] != 0): ?> checked="true"<?php endif; ?>/>
          <?php echo $this->_var['lang']['yes']; ?>
          <input type="radio" name="is_groom" disabled value="0" <?php if ($this->_var['sinfo']['is_groom'] == 0): ?> checked="true"<?php endif; ?> />
          <?php echo $this->_var['lang']['no']; ?> 
          <font color="red">*</font> <span class="notice-span">如果您希望成为推荐店铺,请联系管理方</span>
          </td>
      </tr>
      <tr>
        <td class="label">排序:</td>
        <td><input type="text" disabled name='sort_order' <?php if ($this->_var['sinfo']['sort_order']): ?>value='<?php echo $this->_var['sinfo']['sort_order']; ?>'<?php else: ?> value="50"<?php endif; ?> size="15" />
        <font color="red">*</font> <span class="notice-span">如果您希望您的店铺排序比其他店铺靠前,请联系管理方</span>
        </td>
      </tr>
      <?php if ($this->_var['sinfo']['supplier_notice']): ?>
      <tr>
        <td class="label">通知:</td>
        <td><?php echo $this->_var['sinfo']['supplier_notice']; ?>
        </td>
      </tr>
      <?php else: ?>
      <tr>
        <td class="label"></td>
        <td><input type="checkbox" name="sm" id="sm" checked value='1' /><a href="#">声明</a></td>
      </tr>
      <?php endif; ?>
    </table>
    <div class="button-div">
      <input type="submit" class="button" value="确定" />
      <input type="reset" class="button" value="<?php echo $this->_var['lang']['button_reset']; ?>" />
    </div>
    <input type="hidden" name="act" value="saveinfo" />
    <input type="hidden" name="supplier_id" value="<?php echo $_SESSION['supplier_id']; ?>" />
  </form>
</div>
 
 
<script language="JavaScript">
 
</script> 
 
<?php echo $this->fetch('pagefooter.htm'); ?>