Authored by whb

切换中英

@@ -22,6 +22,15 @@ class Controller_Onlinereg extends Controller_Abstract @@ -22,6 +22,15 @@ class Controller_Onlinereg extends Controller_Abstract
22 } 22 }
23 23
24 /** 24 /**
  25 + * 赞助商
  26 + */
  27 + public function sponsorenAction()
  28 + {
  29 + $this->_view['type'] = Facade_Onlinereg::TYPE_ONLINE_SPONSOR;
  30 + $this->setSession('yohood', 'type', Facade_Onlinereg::TYPE_ONLINE_SPONSOR);
  31 + }
  32 +
  33 + /**
25 * 新闻稿 34 * 新闻稿
26 */ 35 */
27 public function mediaAction() 36 public function mediaAction()
@@ -31,6 +40,15 @@ class Controller_Onlinereg extends Controller_Abstract @@ -31,6 +40,15 @@ class Controller_Onlinereg extends Controller_Abstract
31 } 40 }
32 41
33 /** 42 /**
  43 + * 新闻稿
  44 + */
  45 + public function mediaenAction()
  46 + {
  47 + $this->_view['type'] = Facade_Onlinereg::TYPE_ONLINE_MEDIA;
  48 + $this->setSession('yohood', 'type', Facade_Onlinereg::TYPE_ONLINE_MEDIA);
  49 + }
  50 +
  51 + /**
34 * 参展商 52 * 参展商
35 */ 53 */
36 public function exhibitorAction() 54 public function exhibitorAction()
@@ -40,6 +58,15 @@ class Controller_Onlinereg extends Controller_Abstract @@ -40,6 +58,15 @@ class Controller_Onlinereg extends Controller_Abstract
40 } 58 }
41 59
42 /** 60 /**
  61 + * 参展商
  62 + */
  63 + public function exhibitorenAction()
  64 + {
  65 + $this->_view['type'] = Facade_Onlinereg::TYPE_ONLINE_EXHIBITOR;
  66 + $this->setSession('yohood', 'type', Facade_Onlinereg::TYPE_ONLINE_EXHIBITOR);
  67 + }
  68 +
  69 + /**
43 * 设置商家信息 70 * 设置商家信息
44 * 71 *
45 * @return json 72 * @return json
@@ -23,7 +23,7 @@ @@ -23,7 +23,7 @@
23 </div> 23 </div>
24 <form method="post" action="/onlinereg/setseller" id="exhibitor-form" enctype="multipart/form-data"> 24 <form method="post" action="/onlinereg/setseller" id="exhibitor-form" enctype="multipart/form-data">
25 <div class="pull-right"> 25 <div class="pull-right">
26 - <h2 class="content-header">填写报名信息 <span>Switch to English</span></h2> 26 + <h2 class="content-header">填写报名信息 <a href="/onlinereg/exhibitoren">Switch to English</a></h2>
27 <ul> 27 <ul>
28 <li> 28 <li>
29 <div class="form-leading"><b>*</b><span>品牌名称:</span></div> 29 <div class="form-leading"><b>*</b><span>品牌名称:</span></div>
  1 +<?php $this->_extends('layout/default_layout');?>
  2 +<?php $this->_block('main');?>
  3 +<div class="yoho-header-w">
  4 + <span class="yoho-header-title">
  5 + 参展商登记
  6 + </span>
  7 +</div>
  8 +<div class="submit-content">
  9 + <div class="page-header">
  10 + <a href="/onlinereg/exhibitor" class="active">
  11 + <span>在线登记</span>
  12 + </a>
  13 + <a href="/onlinereg/exhibitordown" class="end"><span>参展商手册下载</span></a>
  14 + </div>
  15 + <div class="pull-left">
  16 + <div class="content-sub">
  17 + <ul>
  18 + <li><span>联系人:</span><p>Eva.Gong</p></li>
  19 + <li><span>&nbsp;&nbsp;箱:</span><p>eva.gong@yoho.cn</p></li>
  20 + <li><span>&nbsp;&nbsp;话:</span><p>+86 18616740570</p></li>
  21 + </ul>
  22 + </div>
  23 + </div>
  24 + <form method="post" action="/onlinereg/setseller" id="exhibitor-form" enctype="multipart/form-data">
  25 + <div class="pull-right">
  26 + <h2 class="content-header">Exhibitor Brand Application Form <a href="/onlinereg/exhibitor">切换中文</a></h2>
  27 + <ul>
  28 + <li>
  29 + <div class="form-leading"><b>*</b><span>*Application:</span></div>
  30 + <div class="form-control"><input type="text" name="name"/></div>
  31 + </li>
  32 + <li>
  33 + <div class="form-leading"><b>*</b><span>*Whether settled in YOHO!BUY:</span></div>
  34 + <div class="form-control">
  35 + <input type="radio" name="is_enter_yohobuy" id="yoho-yes" value="1"/>
  36 + <label for="yoho-yes">Yes</label>
  37 +
  38 + <input type="radio" name="is_enter_yohobuy" id="yoho-no" value="0"/>
  39 + <label for="yoho-no">No</label>
  40 + </div>
  41 + </li>
  42 + <li>
  43 + <div class="form-leading"><b>*</b><span>*Register Condition:</span></div>
  44 + <div class="form-control">
  45 + <input type="radio" name="brand_reg_type" value="2"/>
  46 + <label>Applied</label>
  47 +
  48 + <input type="radio" name="brand_reg_type" value="1"/>
  49 + <label>Registered</label>
  50 +
  51 + <input type="radio" name="brand_reg_type" value="0"/>
  52 + <label>unregistered</label>
  53 + </div>
  54 + </li>
  55 + <li>
  56 + <div class="form-leading"><span>Company Name:</span></div>
  57 + <div class="form-control"><input type="text" name="company"/></div>
  58 + </li>
  59 + <li>
  60 + <div class="form-leading"><b>*</b><span>*Contact Person:</span></div>
  61 + <div class="form-control"><input type="text" name="contact"/></div>
  62 + </li>
  63 + <li>
  64 + <div class="form-leading"><b>*</b><span>*Telephone:</span></div>
  65 + <div class="form-control"><input type="text" name="telphone"/></div>
  66 + </li>
  67 + <li>
  68 + <div class="form-leading"><span>Email:</span></div>
  69 + <div class="form-control"><input type="text" name="email"/></div>
  70 + </li>
  71 + <li>
  72 + <div class="form-leading"><b>*</b><span>*Relationship between company and brand:</span></div>
  73 + <div class="form-control">
  74 + <input type="radio" name="relation" value="0"/>
  75 + <label>Brand</label>
  76 +
  77 + <input type="radio" name="relation" value="1"/>
  78 + <label>Agent</label>
  79 +
  80 + <input type="radio" name="relation" value="2"/>
  81 + <label>Distributor</label>
  82 +
  83 + <input type="radio" name="relation" value="3"/>
  84 + <label>Others</label>
  85 + </div>
  86 + </li>
  87 + <li>
  88 + <div class="form-leading"><b>*</b><span>*Product Location:</span></div>
  89 + <div class="form-control"><input type="text" name="place"/></div>
  90 + </li>
  91 + <li>
  92 + <div class="form-leading"><b>*</b><span>*Whether have 3C certificate:</span></div>
  93 + <div class="form-control">
  94 + <input type="radio" name="is_3c" value="1" checked/>
  95 + <label>Yes</label>
  96 + <input type="radio" name="is_3c" value="0"/>
  97 + <label>No</label>
  98 + </div>
  99 + </li>
  100 + <li>
  101 + <div class="form-leading"><span>Official Website:</span></div>
  102 + <div class="form-control"><input type="text" name="website"/></div>
  103 + </li>
  104 + <li class="upload-list">
  105 + <div class="form-leading"><span>Upload Brand Information:</span></div>
  106 + <div class="form-control">
  107 + <input type="file" name="upload-file" id="upload-file"/>
  108 + <span class="upload-tips">ppt/ptf/zip,大小不超过10M</span>
  109 + <div class="has-upload" style="display: none;">
  110 + <span></span>
  111 + </div>
  112 + </div>
  113 + </li>
  114 + <li>
  115 + <div class="form-leading"><span>code:</span></div>
  116 + <div class="form-control">
  117 + <input type="text" name="code" class="pic-code"/>
  118 + <!--
  119 + <span class="pic-code-text">图形验证码</span>
  120 + -->
  121 + <img alt="" src="/onlinereg/images" class="pic-code-text" />
  122 + </div>
  123 + </li>
  124 + </ul>
  125 + <input type="hidden" value="<?php echo $this->view->type?>" name="type" />
  126 + <input type="hidden" value="" name="files" id="file-url"/>
  127 + <input type="submit" class="submit-w-btn dis" value="提交" disabled="disabled" />
  128 +
  129 + </div>
  130 + </form>
  131 +
  132 +</div>
  133 +
  134 +
  135 +<?php $this->_endblock();?>
  136 +<?php $this->_block('js');?>
  137 +<script type="text/javascript">
  138 +seajs.use('yohood',function(yohood)
  139 +{
  140 + yohood.onlinereg();
  141 +});
  142 +</script>
  143 +<?php $this->_endblock();?>
@@ -21,7 +21,7 @@ @@ -21,7 +21,7 @@
21 </div> 21 </div>
22 </div> 22 </div>
23 <div class="pull-right"> 23 <div class="pull-right">
24 - <h2 class="content-header">填写报名信息 <span>Switch to English</span></h2> 24 + <h2 class="content-header">填写报名信息 <a href="/onlinereg/mediaen">Switch to English</a></h2>
25 <form method="post" id="media-form" enctype="multipart/form-data"> 25 <form method="post" id="media-form" enctype="multipart/form-data">
26 <ul> 26 <ul>
27 <li> 27 <li>
  1 +<?php $this->_extends('layout/default_layout');?>
  2 +<?php $this->_block('main');?>
  3 +<div class="yoho-header-w">
  4 + <span class="yoho-header-title">
  5 + 媒体登记
  6 + </span>
  7 +</div>
  8 +
  9 +<div class="submit-content">
  10 + <div class="page-header">
  11 + <a href="/onlinereg/media" class="active">
  12 + <span>在线登记</span>
  13 + </a>
  14 + <a href="/onlinereg/mediadown" class="end"><span>新闻稿下载</span></a>
  15 + </div>
  16 + <div class="pull-left">
  17 + <div class="content-sub">
  18 + <ul>
  19 + <li><span>联系人:</span><p>Dylan Pan</p></li>
  20 + <li><span>&nbsp;&nbsp;箱:</span><p>dylan.pan@yoho.cn</p></li>
  21 + <li><span>&nbsp;&nbsp;话:</span><p>+86 13761820225</p></li>
  22 + </ul>
  23 + </div>
  24 + </div>
  25 + <div class="pull-right">
  26 + <h2 class="content-header">Media Online Registration <a href="/onlinereg/media">切换中文</a></h2>
  27 + <form method="post" id="media-form" enctype="multipart/form-data">
  28 + <ul>
  29 + <li>
  30 + <div class="form-leading"><span>Name:</span></div>
  31 + <div class="form-control"><input type="text" name="name"/></div>
  32 + </li>
  33 + <li>
  34 + <div class="form-leading"><span>Position:</span></div>
  35 + <div class="form-control"><input type="text" name="profession"/></div>
  36 + </li>
  37 + <li>
  38 + <div class="form-leading">Gender:</span></div>
  39 + <div class="form-control"><input type="text" name="sex"/></div>
  40 + </li>
  41 + <li>
  42 + <div class="form-leading">Media/Company:</span></div>
  43 + <div class="form-control"><input type="text" name="company"/></div>
  44 + </li>
  45 + <li class="h-auto">
  46 + <div class="form-leading">Profile(within 200 words):</span></div>
  47 + <div class="form-control"><textarea name="introduction"></textarea></div>
  48 + </li>
  49 + <li>
  50 + <div class="form-leading"><span>Official Website:</span></div>
  51 + <div class="form-control"><input type="text" name="website"/></div>
  52 + </li>
  53 + <li>
  54 + <div class="form-leading"><span>City:</span></div>
  55 + <div class="form-control"><input type="text" name="city"/></div>
  56 + </li>
  57 + <li>
  58 + <div class="form-leading"><span>Mail:</span></div>
  59 + <div class="form-control"><input type="text" name="email"/></div>
  60 + </li>
  61 + <li>
  62 + <div class="form-leading"><span>Mobile:</span></div>
  63 + <div class="form-control"><input type="text" name="mobile"/></div>
  64 + </li>
  65 + <li>
  66 + <div class="form-leading"><span>Telephone:</span></div>
  67 + <div class="form-control"><input type="text" name="telphone"/></div>
  68 + </li>
  69 + <li>
  70 + <div class="form-leading"><span>Address:</span></div>
  71 + <div class="form-control"><input type="text" name="place"/></div>
  72 + </li>
  73 + <li>
  74 + <div class="form-leading"><span>Zip Code:</span></div>
  75 + <div class="form-control"><input type="text" name="zipcode"/></div>
  76 + </li>
  77 +
  78 + <li>
  79 + <div class="form-leading"><span>code:</span></div>
  80 + <div class="form-control">
  81 + <input type="text" name="code" class="pic-code"/>
  82 + <!-- <span class="pic-code-text">图形验证码</span> -->
  83 + <img alt="" src="/onlinereg/images" class="pic-code-text" />
  84 + </div>
  85 + </li>
  86 + </ul>
  87 + <input type="hidden" value="<?php echo $this->view->type?>" name="type" />
  88 + <input type="submit" class="submit-w-btn dis" value="提交" disabled="disabled" />
  89 + </form>
  90 + </div>
  91 +</div>
  92 +
  93 +
  94 +<?php $this->_endblock();?>
  95 +<?php $this->_block('js');?>
  96 +<script type="text/javascript">
  97 +seajs.use('yohood',function(yohood)
  98 +{
  99 + yohood.onlinereg();
  100 +});
  101 +</script>
  102 +<?php $this->_endblock();?>
@@ -16,7 +16,7 @@ @@ -16,7 +16,7 @@
16 </div> 16 </div>
17 </div> 17 </div>
18 <div class="pull-right"> 18 <div class="pull-right">
19 - <h2 class="content-header">填写报名信息 <span>Switch to English</span></h2> 19 + <h2 class="content-header">填写报名信息 <a href="/onlinereg/sponsoren">Switch to English</a></h2>
20 <form method="post" enctype="multipart/form-data" id="sponsor-form"> 20 <form method="post" enctype="multipart/form-data" id="sponsor-form">
21 <ul> 21 <ul>
22 <li> 22 <li>
  1 +<?php $this->_extends('layout/default_layout');?>
  2 +<?php $this->_block('main');?>
  3 +<div class="yoho-header-w">
  4 + <span class="yoho-header-title">
  5 + 赞助商登记
  6 + </span>
  7 +</div>
  8 +<div class="submit-content">
  9 + <div class="pull-left">
  10 + <div class="content-sub">
  11 + <ul>
  12 + <li><span>赞助商:</span><p>Eva.Gong</p></li>
  13 + <li><span>&nbsp;&nbsp;箱:</span><p>eva.gong@yoho.cn</p></li>
  14 + <li><span>&nbsp;&nbsp;话:</span><p>+86 18616740570</p></li>
  15 + </ul>
  16 + </div>
  17 + </div>
  18 + <div class="pull-right">
  19 + <h2 class="content-header">Sponsor Brand Application Form <a href="/onlinereg/sponsor">切换中文</a></h2>
  20 + <form method="post" enctype="multipart/form-data" id="sponsor-form">
  21 + <ul>
  22 + <li>
  23 + <div class="form-leading"><b>*</b><span>*Application:</span></div>
  24 + <div class="form-control"><input type="text" name="name"/></div>
  25 + </li>
  26 + <li>
  27 + <div class="form-leading"><b>*</b><span>*Whether settled in YOHO!BUY:</span></div>
  28 + <div class="form-control">
  29 + <input type="radio" name="is_enter_yohobuy" id="yoho-yes" checked value="1"/>
  30 + <label for="yoho-yes">Yes</label>
  31 +
  32 + <input type="radio" name="is_enter_yohobuy" id="yoho-no" value="0"/>
  33 + <label for="yoho-no">No</label>
  34 + </div>
  35 + </li>
  36 + <li>
  37 + <div class="form-leading"><b>*</b><span>Product Type:</span></div>
  38 + <div class="form-control"><input type="text" name="product_type"/></div>
  39 + </li>
  40 + <li>
  41 + <div class="form-leading">Country:</div>
  42 + <div class="form-control"><input type="text" name="country"/></div>
  43 + </li>
  44 + <li>
  45 + <div class="form-leading">Company Name:</div>
  46 + <div class="form-control"><input type="text" name="company"/></div>
  47 + </li>
  48 + <li>
  49 + <div class="form-leading">Company Address:</div>
  50 + <div class="form-control"><input type="text" name="place"/></div>
  51 + </li>
  52 + <li>
  53 + <div class="form-leading"><b>*</b><span>*Contact Person:</span></div>
  54 + <div class="form-control"><input type="text" name="contact"/></div>
  55 + </li>
  56 + <li>
  57 + <div class="form-leading"><b>*</b><span>*Telephone:</span></div>
  58 + <div class="form-control"><input type="text" name="telphone"/></div>
  59 + </li>
  60 + <li>
  61 + <div class="form-leading"><span>Email:</span></div>
  62 + <div class="form-control"><input type="text" name="email"/></div>
  63 + </li>
  64 + <li>
  65 + <div class="form-leading"><span>Official Website:</span></div>
  66 + <div class="form-control"><input type="text" name="website"/></div>
  67 + </li>
  68 + <li class="upload-list">
  69 + <div class="form-leading"><span>Upload Brand Information:</span></div>
  70 + <div class="form-control">
  71 + <input type="file" name="upload-file" id="upload-file"/>
  72 + <span class="upload-tips">ppt/ptf/zip,大小不超过10M</span>
  73 + <div class="has-upload">
  74 + <span></span>
  75 + </div>
  76 + </div>
  77 + </li>
  78 + <li>
  79 + <div class="form-leading"><span>code:</span></div>
  80 + <div class="form-control">
  81 +
  82 + <input type="text" name="code" class="pic-code"/>
  83 + <!--
  84 + <span class="pic-code-text">图形验证码</span>
  85 + -->
  86 + <img alt="" src="/onlinereg/images" class="pic-code-text" />
  87 + </div>
  88 + </li>
  89 + </ul>
  90 + <input type="hidden" value="<?php echo $this->view->type?>" name="type" />
  91 + <!-- <span class="submit-w-btn">提交</span>-->
  92 + <input type="hidden" value="" name="files" id="file-url"/>
  93 + <input type="submit" class="submit-w-btn dis" value="提交" disabled="disabled" />
  94 + </form>
  95 + </div>
  96 +</div>
  97 +<?php $this->_endblock();?>
  98 +<?php $this->_block('js');?>
  99 +<script type="text/javascript">
  100 +seajs.use('yohood',function(yohood)
  101 +{
  102 + yohood.onlinereg();
  103 +});
  104 +</script>
  105 +<?php $this->_endblock();?>