Authored by whb

切换中英

... ... @@ -22,6 +22,15 @@ class Controller_Onlinereg extends Controller_Abstract
}
/**
* 赞助商
*/
public function sponsorenAction()
{
$this->_view['type'] = Facade_Onlinereg::TYPE_ONLINE_SPONSOR;
$this->setSession('yohood', 'type', Facade_Onlinereg::TYPE_ONLINE_SPONSOR);
}
/**
* 新闻稿
*/
public function mediaAction()
... ... @@ -31,6 +40,15 @@ class Controller_Onlinereg extends Controller_Abstract
}
/**
* 新闻稿
*/
public function mediaenAction()
{
$this->_view['type'] = Facade_Onlinereg::TYPE_ONLINE_MEDIA;
$this->setSession('yohood', 'type', Facade_Onlinereg::TYPE_ONLINE_MEDIA);
}
/**
* 参展商
*/
public function exhibitorAction()
... ... @@ -40,6 +58,15 @@ class Controller_Onlinereg extends Controller_Abstract
}
/**
* 参展商
*/
public function exhibitorenAction()
{
$this->_view['type'] = Facade_Onlinereg::TYPE_ONLINE_EXHIBITOR;
$this->setSession('yohood', 'type', Facade_Onlinereg::TYPE_ONLINE_EXHIBITOR);
}
/**
* 设置商家信息
*
* @return json
... ...
... ... @@ -23,7 +23,7 @@
</div>
<form method="post" action="/onlinereg/setseller" id="exhibitor-form" enctype="multipart/form-data">
<div class="pull-right">
<h2 class="content-header">填写报名信息 <span>Switch to English</span></h2>
<h2 class="content-header">填写报名信息 <a href="/onlinereg/exhibitoren">Switch to English</a></h2>
<ul>
<li>
<div class="form-leading"><b>*</b><span>品牌名称:</span></div>
... ...
<?php $this->_extends('layout/default_layout');?>
<?php $this->_block('main');?>
<div class="yoho-header-w">
<span class="yoho-header-title">
参展商登记
</span>
</div>
<div class="submit-content">
<div class="page-header">
<a href="/onlinereg/exhibitor" class="active">
<span>在线登记</span>
</a>
<a href="/onlinereg/exhibitordown" class="end"><span>参展商手册下载</span></a>
</div>
<div class="pull-left">
<div class="content-sub">
<ul>
<li><span>联系人:</span><p>Eva.Gong</p></li>
<li><span>&nbsp;&nbsp;箱:</span><p>eva.gong@yoho.cn</p></li>
<li><span>&nbsp;&nbsp;话:</span><p>+86 18616740570</p></li>
</ul>
</div>
</div>
<form method="post" action="/onlinereg/setseller" id="exhibitor-form" enctype="multipart/form-data">
<div class="pull-right">
<h2 class="content-header">Exhibitor Brand Application Form <a href="/onlinereg/exhibitor">切换中文</a></h2>
<ul>
<li>
<div class="form-leading"><b>*</b><span>*Application:</span></div>
<div class="form-control"><input type="text" name="name"/></div>
</li>
<li>
<div class="form-leading"><b>*</b><span>*Whether settled in YOHO!BUY:</span></div>
<div class="form-control">
<input type="radio" name="is_enter_yohobuy" id="yoho-yes" value="1"/>
<label for="yoho-yes">Yes</label>
<input type="radio" name="is_enter_yohobuy" id="yoho-no" value="0"/>
<label for="yoho-no">No</label>
</div>
</li>
<li>
<div class="form-leading"><b>*</b><span>*Register Condition:</span></div>
<div class="form-control">
<input type="radio" name="brand_reg_type" value="2"/>
<label>Applied</label>
<input type="radio" name="brand_reg_type" value="1"/>
<label>Registered</label>
<input type="radio" name="brand_reg_type" value="0"/>
<label>unregistered</label>
</div>
</li>
<li>
<div class="form-leading"><span>Company Name:</span></div>
<div class="form-control"><input type="text" name="company"/></div>
</li>
<li>
<div class="form-leading"><b>*</b><span>*Contact Person:</span></div>
<div class="form-control"><input type="text" name="contact"/></div>
</li>
<li>
<div class="form-leading"><b>*</b><span>*Telephone:</span></div>
<div class="form-control"><input type="text" name="telphone"/></div>
</li>
<li>
<div class="form-leading"><span>Email:</span></div>
<div class="form-control"><input type="text" name="email"/></div>
</li>
<li>
<div class="form-leading"><b>*</b><span>*Relationship between company and brand:</span></div>
<div class="form-control">
<input type="radio" name="relation" value="0"/>
<label>Brand</label>
<input type="radio" name="relation" value="1"/>
<label>Agent</label>
<input type="radio" name="relation" value="2"/>
<label>Distributor</label>
<input type="radio" name="relation" value="3"/>
<label>Others</label>
</div>
</li>
<li>
<div class="form-leading"><b>*</b><span>*Product Location:</span></div>
<div class="form-control"><input type="text" name="place"/></div>
</li>
<li>
<div class="form-leading"><b>*</b><span>*Whether have 3C certificate:</span></div>
<div class="form-control">
<input type="radio" name="is_3c" value="1" checked/>
<label>Yes</label>
<input type="radio" name="is_3c" value="0"/>
<label>No</label>
</div>
</li>
<li>
<div class="form-leading"><span>Official Website:</span></div>
<div class="form-control"><input type="text" name="website"/></div>
</li>
<li class="upload-list">
<div class="form-leading"><span>Upload Brand Information:</span></div>
<div class="form-control">
<input type="file" name="upload-file" id="upload-file"/>
<span class="upload-tips">ppt/ptf/zip,大小不超过10M</span>
<div class="has-upload" style="display: none;">
<span></span>
</div>
</div>
</li>
<li>
<div class="form-leading"><span>code:</span></div>
<div class="form-control">
<input type="text" name="code" class="pic-code"/>
<!--
<span class="pic-code-text">图形验证码</span>
-->
<img alt="" src="/onlinereg/images" class="pic-code-text" />
</div>
</li>
</ul>
<input type="hidden" value="<?php echo $this->view->type?>" name="type" />
<input type="hidden" value="" name="files" id="file-url"/>
<input type="submit" class="submit-w-btn dis" value="提交" disabled="disabled" />
</div>
</form>
</div>
<?php $this->_endblock();?>
<?php $this->_block('js');?>
<script type="text/javascript">
seajs.use('yohood',function(yohood)
{
yohood.onlinereg();
});
</script>
<?php $this->_endblock();?>
\ No newline at end of file
... ...
... ... @@ -21,7 +21,7 @@
</div>
</div>
<div class="pull-right">
<h2 class="content-header">填写报名信息 <span>Switch to English</span></h2>
<h2 class="content-header">填写报名信息 <a href="/onlinereg/mediaen">Switch to English</a></h2>
<form method="post" id="media-form" enctype="multipart/form-data">
<ul>
<li>
... ...
<?php $this->_extends('layout/default_layout');?>
<?php $this->_block('main');?>
<div class="yoho-header-w">
<span class="yoho-header-title">
媒体登记
</span>
</div>
<div class="submit-content">
<div class="page-header">
<a href="/onlinereg/media" class="active">
<span>在线登记</span>
</a>
<a href="/onlinereg/mediadown" class="end"><span>新闻稿下载</span></a>
</div>
<div class="pull-left">
<div class="content-sub">
<ul>
<li><span>联系人:</span><p>Dylan Pan</p></li>
<li><span>&nbsp;&nbsp;箱:</span><p>dylan.pan@yoho.cn</p></li>
<li><span>&nbsp;&nbsp;话:</span><p>+86 13761820225</p></li>
</ul>
</div>
</div>
<div class="pull-right">
<h2 class="content-header">Media Online Registration <a href="/onlinereg/media">切换中文</a></h2>
<form method="post" id="media-form" enctype="multipart/form-data">
<ul>
<li>
<div class="form-leading"><span>Name:</span></div>
<div class="form-control"><input type="text" name="name"/></div>
</li>
<li>
<div class="form-leading"><span>Position:</span></div>
<div class="form-control"><input type="text" name="profession"/></div>
</li>
<li>
<div class="form-leading">Gender:</span></div>
<div class="form-control"><input type="text" name="sex"/></div>
</li>
<li>
<div class="form-leading">Media/Company:</span></div>
<div class="form-control"><input type="text" name="company"/></div>
</li>
<li class="h-auto">
<div class="form-leading">Profile(within 200 words):</span></div>
<div class="form-control"><textarea name="introduction"></textarea></div>
</li>
<li>
<div class="form-leading"><span>Official Website:</span></div>
<div class="form-control"><input type="text" name="website"/></div>
</li>
<li>
<div class="form-leading"><span>City:</span></div>
<div class="form-control"><input type="text" name="city"/></div>
</li>
<li>
<div class="form-leading"><span>Mail:</span></div>
<div class="form-control"><input type="text" name="email"/></div>
</li>
<li>
<div class="form-leading"><span>Mobile:</span></div>
<div class="form-control"><input type="text" name="mobile"/></div>
</li>
<li>
<div class="form-leading"><span>Telephone:</span></div>
<div class="form-control"><input type="text" name="telphone"/></div>
</li>
<li>
<div class="form-leading"><span>Address:</span></div>
<div class="form-control"><input type="text" name="place"/></div>
</li>
<li>
<div class="form-leading"><span>Zip Code:</span></div>
<div class="form-control"><input type="text" name="zipcode"/></div>
</li>
<li>
<div class="form-leading"><span>code:</span></div>
<div class="form-control">
<input type="text" name="code" class="pic-code"/>
<!-- <span class="pic-code-text">图形验证码</span> -->
<img alt="" src="/onlinereg/images" class="pic-code-text" />
</div>
</li>
</ul>
<input type="hidden" value="<?php echo $this->view->type?>" name="type" />
<input type="submit" class="submit-w-btn dis" value="提交" disabled="disabled" />
</form>
</div>
</div>
<?php $this->_endblock();?>
<?php $this->_block('js');?>
<script type="text/javascript">
seajs.use('yohood',function(yohood)
{
yohood.onlinereg();
});
</script>
<?php $this->_endblock();?>
\ No newline at end of file
... ...
... ... @@ -16,7 +16,7 @@
</div>
</div>
<div class="pull-right">
<h2 class="content-header">填写报名信息 <span>Switch to English</span></h2>
<h2 class="content-header">填写报名信息 <a href="/onlinereg/sponsoren">Switch to English</a></h2>
<form method="post" enctype="multipart/form-data" id="sponsor-form">
<ul>
<li>
... ...
<?php $this->_extends('layout/default_layout');?>
<?php $this->_block('main');?>
<div class="yoho-header-w">
<span class="yoho-header-title">
赞助商登记
</span>
</div>
<div class="submit-content">
<div class="pull-left">
<div class="content-sub">
<ul>
<li><span>赞助商:</span><p>Eva.Gong</p></li>
<li><span>&nbsp;&nbsp;箱:</span><p>eva.gong@yoho.cn</p></li>
<li><span>&nbsp;&nbsp;话:</span><p>+86 18616740570</p></li>
</ul>
</div>
</div>
<div class="pull-right">
<h2 class="content-header">Sponsor Brand Application Form <a href="/onlinereg/sponsor">切换中文</a></h2>
<form method="post" enctype="multipart/form-data" id="sponsor-form">
<ul>
<li>
<div class="form-leading"><b>*</b><span>*Application:</span></div>
<div class="form-control"><input type="text" name="name"/></div>
</li>
<li>
<div class="form-leading"><b>*</b><span>*Whether settled in YOHO!BUY:</span></div>
<div class="form-control">
<input type="radio" name="is_enter_yohobuy" id="yoho-yes" checked value="1"/>
<label for="yoho-yes">Yes</label>
<input type="radio" name="is_enter_yohobuy" id="yoho-no" value="0"/>
<label for="yoho-no">No</label>
</div>
</li>
<li>
<div class="form-leading"><b>*</b><span>Product Type:</span></div>
<div class="form-control"><input type="text" name="product_type"/></div>
</li>
<li>
<div class="form-leading">Country:</div>
<div class="form-control"><input type="text" name="country"/></div>
</li>
<li>
<div class="form-leading">Company Name:</div>
<div class="form-control"><input type="text" name="company"/></div>
</li>
<li>
<div class="form-leading">Company Address:</div>
<div class="form-control"><input type="text" name="place"/></div>
</li>
<li>
<div class="form-leading"><b>*</b><span>*Contact Person:</span></div>
<div class="form-control"><input type="text" name="contact"/></div>
</li>
<li>
<div class="form-leading"><b>*</b><span>*Telephone:</span></div>
<div class="form-control"><input type="text" name="telphone"/></div>
</li>
<li>
<div class="form-leading"><span>Email:</span></div>
<div class="form-control"><input type="text" name="email"/></div>
</li>
<li>
<div class="form-leading"><span>Official Website:</span></div>
<div class="form-control"><input type="text" name="website"/></div>
</li>
<li class="upload-list">
<div class="form-leading"><span>Upload Brand Information:</span></div>
<div class="form-control">
<input type="file" name="upload-file" id="upload-file"/>
<span class="upload-tips">ppt/ptf/zip,大小不超过10M</span>
<div class="has-upload">
<span></span>
</div>
</div>
</li>
<li>
<div class="form-leading"><span>code:</span></div>
<div class="form-control">
<input type="text" name="code" class="pic-code"/>
<!--
<span class="pic-code-text">图形验证码</span>
-->
<img alt="" src="/onlinereg/images" class="pic-code-text" />
</div>
</li>
</ul>
<input type="hidden" value="<?php echo $this->view->type?>" name="type" />
<!-- <span class="submit-w-btn">提交</span>-->
<input type="hidden" value="" name="files" id="file-url"/>
<input type="submit" class="submit-w-btn dis" value="提交" disabled="disabled" />
</form>
</div>
</div>
<?php $this->_endblock();?>
<?php $this->_block('js');?>
<script type="text/javascript">
seajs.use('yohood',function(yohood)
{
yohood.onlinereg();
});
</script>
<?php $this->_endblock();?>
\ No newline at end of file
... ...