コード例 #1
0
echo form_input(array('id' => 'input-small', 'name' => 'mailpassword', 'max_length' => 100, 'class' => 'small ', 'value' => my_set_value('mailpassword', $settings['mailpassword'])));
?>
                    (*) (Tối đa 100 kí tự)
                    <?php 
echo form_error('mailpassword', '<span class="error">', '</span>');
?>
                </div>
                <div class="wrap-row">
                    <label>Mail starttls: </label>
             		<?php 
echo form_checkbox(array('id' => 'starttls', 'name' => 'starttls'), 1, my_set_checkbox('starttls', 1, $settings['starttls']));
?>
                    <label for="starttls" style="float:none;">Có</label>
                </div>
                <div class="wrap-row">
                    <label>Mail type: </label>
                    <?php 
echo form_input(array('id' => 'input-small', 'name' => 'mailtype', 'max_length' => 20, 'class' => 'small ', 'value' => my_set_value('mailtype', $settings['mailtype'])));
?>
                    (*) (Tối đa 20 kí tự)
                    <?php 
echo form_error('mailtype', '<span class="error">', '</span>');
?>
                </div>
                <p style="border:none;padding-bottom:0px;">
                    <label></label>
                    <span>(*):Bắt buộc nhập</span>
                </p>
        </div>
<?php 
echo form_close();
コード例 #2
0
?>
" />
                    (*) (Tối đa 50 kí tự)
                    <?php 
echo form_error('name', '<span class="error">', '</span>');
?>
                </div>
                <div class="wrap-row">
                    <label>URL: </label>
                    <input type="text" id="input-small" maxlength="50" name="url" maxlength="50" class="small <?php 
if (isset($err_url) && $err_url != '') {
    echo 'error';
}
?>
" value="<?php 
echo my_set_value('url', $form_data['url']);
?>
" />
                    (*) (Tối đa 50 kí tự)
                    <?php 
echo form_error('url', '<span class="error">', '</span>');
?>
                    
                </div>
                <div class="wrap-row">
                    <label style="margin-top: 5px;"></label>
                    <input type="checkbox" name="is_group" id="is_group" value="1" <?php 
echo my_set_checkbox('is_group', $form_data['is_group'], 1);
?>
 />
                    <label for="is_group" style="float:none;">Nhóm chức năng</label>
コード例 #3
0
" /><br /><br />
					  <label><?php 
echo lang('ad_text');
?>
: </label>
                      <textarea style="margin-left:35px;" name="text" id="text" rows="5" cols="185"><?php 
echo isset($ad_details->text) ? $ad_details->text : my_set_value('text');
?>
</textarea><br /><br />
					  <label><?php 
echo lang('status');
?>
: </label> 
<?php 
$options = array('1' => lang('show'), '0' => lang('hide'));
$selected_value = isset($ad_details->status) ? $ad_details->status : my_set_value('status');
echo form_dropdown('status', $options, $selected_value);
?>
<br /><br />
                      <button style="margin-left:1090px;" type="submit" class="btn btn-warning"/>Submit</button>
                  </form>

              </div>
              
              
             
          </div>
      </div>
      
  <script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
    <script src="/media/js/bootstrap.min.js"></script>
コード例 #4
0
echo isset($user_data->ok_pay_wallet) ? $user_data->ok_pay_wallet : my_set_value('ok_pay_wallet');
?>
" class="validate[required]" /></td>
					</tr>
					<tr>
						<th>&nbsp;</th>
						<td>&nbsp;</td>
						<th><?php 
echo lang('pm_wallet');
?>
<span>*</span><span><?php 
echo lang('example');
?>
: U3251789</span></th>
						<td><input type="text" name="pm_wallet" id="pm_wallet" value="<?php 
echo isset($user_data->pm_wallet) ? $user_data->pm_wallet : my_set_value('pm_wallet');
?>
" class="validate[required]" /></td>
					</tr>
					<tr>
						<td colspan="4" align="center"><button style="margin-left:1090px;" type="submit" class="btn btn-warning"/>Submit</button></td>
					</tr>
				</table>
			  </div>
             
              
             
          </div>
		</form> 
      </div>
      
コード例 #5
0
?>
" /><br /><br />
					  <label><?php 
echo lang('preview');
?>
: </label>
                      <textarea style="margin-left:35px;" name="preview" id="preview" rows="5" cols="185"><?php 
echo isset($terms_conditions->preview) ? $terms_conditions->preview : my_set_value('preview');
?>
</textarea><br /><br />
					  <label><?php 
echo lang('content');
?>
: </label>
                      <textarea style="margin-left:35px;" name="content" id="content" rows="5" cols="185"><?php 
echo isset($terms_conditions->content) ? $terms_conditions->content : my_set_value('content');
?>
</textarea><br /><br />
                      <button style="margin-left:1090px;" type="submit" class="btn btn-warning"/>Submit</button>
                  </form>

              </div>
              
              
             
          </div>
      </div>
      
  <script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
    <script src="/media/js/bootstrap.min.js"></script>
    <script src="//tinymce.cachefly.net/4.0/tinymce.min.js"></script>
コード例 #6
0
?>
" />
                <div class="wrap-row">
                    <label>Tên menu: </label>
                    <?php 
echo form_input(array('id' => 'input-small', 'name' => 'name', 'max_length' => 50, 'class' => 'small ', 'value' => my_set_value('name', $form_data['name'])));
?>
                    (*) (Tối đa 50 kí tự)
                    <?php 
echo form_error('name', '<span class="error">', '</span>');
?>
                </div>
                <div class="wrap-row">
                    <label>Đường dẫn: </label>
                    <?php 
echo form_input(array('id' => 'input-small', 'name' => 'url', 'max_length' => 50, 'class' => 'small ', 'value' => my_set_value('url', $form_data['url'])));
?>
                    (*) (Tối đa 50 kí tự)
                    <?php 
echo form_error('url', '<span class="error">', '</span>');
?>
                </div>
                <div class="wrap-row">
                    <label>Chuyển hướng: </label>
					<?php 
echo form_dropdown('target', array('_self' => 'Không mở tab mới', '_blank' => 'Mở ở tab mới'), set_select('target'));
?>
                    
                </div>
                <div class="wrap-row">
                    <label>Trước mục: </label>
コード例 #7
0
ファイル: contacts.php プロジェクト: Owchzzz/VisionPay
?>
" name="name" id="name" class="validate[required]" />
				<label class="lab_1"><?php 
echo lang('email');
?>
<span>*</span></label>
				<input type="text" value="<?php 
echo my_set_value('email');
?>
" name="email" id="email" class="validate[required, custom[email]]" />
				<label><?php 
echo lang('text');
?>
<span>*</span></label>
				<textarea cols="" rows="" name="message" id="message" class="validate[required]"><?php 
echo my_set_value('message');
?>
</textarea>
				<p class="p_objaz">* <?php 
echo lang('required_fields');
?>
</p>
				<input type="submit" value="<?php 
echo lang('submit');
?>
" />
			</form>
		</div>
	</div>
	<div class="hfooter"></div>
</div>
コード例 #8
0
</textarea><br /><br />
					  <label><?php 
echo lang('faq_order');
?>
: </label> 
					  <input type="text" name="order" id="order" value="<?php 
echo isset($faq->order) ? $faq->order : my_set_value('order');
?>
" /><br /><br />
					  <label><?php 
echo lang('status');
?>
: </label> 
<?php 
$options = array('1' => lang('show'), '0' => lang('hide'));
$selected_value = isset($faq->status) ? $faq->status : my_set_value('status');
echo form_dropdown('status', $options, $selected_value);
?>
<br /><br />
                      <button style="margin-left:1090px;" type="submit" class="btn btn-warning"/>Submit</button>
                  </form>

              </div>
              
              
             
          </div>
      </div>
      
  <script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
    <script src="/media/js/bootstrap.min.js"></script>
コード例 #9
0
ファイル: _registration.php プロジェクト: Owchzzz/VisionPay
?>
<span>*</span><span><?php 
echo lang('example');
?>
: OK123456789</span></label><input type="text" name="ok_pay_wallet" id="ok_pay_wallet" value="<?php 
echo my_set_value('ok_pay_wallet');
?>
" class="validate[required]" />
<label class="lab_2"><?php 
echo lang('pm_wallet');
?>
<span>*</span><span><?php 
echo lang('example');
?>
: U3251789</span></label><input type="text" name="pm_wallet" id="pm_wallet" value="<?php 
echo my_set_value('pm_wallet');
?>
" class="validate[required]" />
<p class="p_objaz">* <?php 
echo lang('required_fields');
?>
</p>
<input type="submit" value="<?php 
echo lang('become_partner');
?>
"/>
</div>
</form>
	
	</div>
コード例 #10
0
echo form_dropdown('role_id', $list_roles, $arrSelected, array('class' => $arrSelected));
?>
                    <?php 
echo form_error('role_id', '<span class="error">', '</span>');
?>
   
                </div>
                <div class="wrap-row">
                    <label>Tên đăng nhập: </label>
                    <input type="text" id="input-small" maxlength="50" name="username" maxlength="50" class="small <?php 
if (isset($err_username) && $err_username != '') {
    echo 'error';
}
?>
" value="<?php 
echo my_set_value('username', $form_data['username']);
?>
" />
                    (*) (Tối đa 50 kí tự)
                                        <?php 
if (isset($err_username) && $err_username != '') {
    ?>
                                        <span class="error"><?php 
    echo $err_username;
    ?>
</span>
                                        <?php 
}
?>
                    
                </div>
コード例 #11
0
</textarea><br /><br />
					  <label><?php 
echo lang('program_order');
?>
: </label> 
					  <input type="text" name="program_order" id="program_order" value="<?php 
echo my_set_value('program_order', $program_data->program_order);
?>
"/><br /><br />
					  <label><?php 
echo lang('status');
?>
: </label>
					  <?php 
$options = array('1' => lang('show'), '0' => lang('hide'));
$selected_value = isset($program_data->status) ? $program_data->status : my_set_value('status');
echo form_dropdown('status', $options, $selected_value);
?>
					  <br /><br />
                      <button style="margin-left:1090px;" type="submit" class="btn btn-warning"/>Submit</button>
                  </form>

              </div>
              
              
             
          </div>
      </div>
      
  <script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
    <script src="/media/js/bootstrap.min.js"></script>
コード例 #12
0
ファイル: forgot_password.php プロジェクト: Owchzzz/VisionPay
	<div class="section_page">
		<form action="/user/forgot_password" method="post" name="frm_forgot_password" id="frm_forgot_password">
		
			<?php 
echo validation_errors();
?>
			<?php 
echo $form_submit_message;
?>
		
			<label><?php 
echo lang('email');
?>
 <span>*</span></label>
			<input type="text" name="email" id="email" value="<?php 
echo my_set_value('email');
?>
" class="validate[required, custom[email]]" />
			<p class="p_objaz">* <?php 
echo lang('required_fields');
?>
</p>
			<input type="submit" value="<?php 
echo lang('save');
?>
" />
		</form>
	</div>
	<div class="hfooter"></div>
</div>
<!--main-->
コード例 #13
0
<form id="form" action="<?php 
echo $submitUrl;
?>
" method="post">
   
<div id="form">
    <input type="hidden" name="id" value="<?php 
echo $form_data['id'];
?>
" />
    <div class="wrap-row">
        <label>Tên quyền: </label>
        <input type="text" name="name" value="<?php 
echo my_set_value('name', $form_data['name']);
?>
" maxlength="50"  />
        (*) (Tối đa 50 kí tự)
        <?php 
echo form_error('name', '<span class="error">', '</span>');
?>
                          
    </div>
    <div class="wrap-row">
        <label>Quyền truy cập: </label>
        <?php 
unset($modules[0]);
$arrChoose = $this->input->post('modules');
if (count($arrChoose) == 0) {
    if (isset($form_data['selected_modules'])) {
        $arrChoose = $form_data['selected_modules'];
    }
コード例 #14
0
?>
                    (*) (Tối đa 65 kí tự)
                    <?php 
echo form_error('meta_title', '<span class="error">', '</span>');
?>
                </div>
                <div class="wrap-row">
                    <label>Meta keywords: </label>
                    <?php 
echo form_textarea(array('name' => 'meta_keywords', 'max_length' => 50, 'cols' => 66, 'rows' => 4), my_set_value('meta_keywords', $form_data['meta_keywords']));
?>
                </div>
                <div class="wrap-row">
                    <label>Meta description: </label>
                    <?php 
echo form_textarea(array('name' => 'meta_desc', 'max_length' => 300, 'cols' => 66, 'rows' => 10), my_set_value('meta_desc', $form_data['meta_desc']));
?>
                </div>
                <div class="wrap-row">
                    <label style="margin-top: 5px;"></label>
                    <input type="checkbox" name="status" id="status" value="1" <?php 
echo my_set_checkbox('status', $form_data['status'], 1);
?>
 />
                    <label for="status" style="float:none;">Hiện trên trang chủ</label>
                </div>
                <p style="border:none;padding-bottom:0px;">
                    <label></label>
                    <span>(*):Bắt buộc nhập</span>
                </p>
        </div>
コード例 #15
0
" class="thumb" /> (to change thumbnail upload another photo): <br /><input type="file" name="image_path" id="image_path" /> <br /> <br />
					  <label><?php 
echo lang('image_order');
?>
: </label> 
					  <input type="text" name="image_order" id="image_order" value="<?php 
echo isset($presentation_image->image_order) ? $presentation_image->image_order : my_set_value('image_order');
?>
"/><br /><br />
					  <label><?php 
echo lang('status');
?>
: </label> 
<?php 
$options = array('1' => lang('show'), '0' => lang('hide'));
$selected_value = isset($presentation_image->status) ? $presentation_image->status : my_set_value('status');
echo form_dropdown('status', $options, $selected_value);
?>
<br /><br />
                      <button style="margin-left:1090px;" type="submit" class="btn btn-warning"/>Submit</button>
                  </form>

              </div>
              
              
             
          </div>
      </div>
      
  <script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
    <script src="/media/js/bootstrap.min.js"></script>
コード例 #16
0
ファイル: testimonials.php プロジェクト: Owchzzz/VisionPay
			<div class="form_test">
				<form action="/testimonials/" method="post" class="form_test" name="frm_add_testimonial" id="frm_add_testimonial" enctype="multipart/form-data">
					
					<label>Имя:</label>
					<input type="text" value="<?php 
echo my_set_value('first_name');
?>
" name="first_name" id="first_name" class="validate[required]" />
					<label>Фамилия:</label>
					<input type="text" value="<?php 
echo my_set_value('last_name');
?>
" name="last_name" id="last_name" class="validate[required]" />
					<label>Отзыв:</label>
					<textarea cols="" rows="" name="testimonial" id="testimonial" class="validate[required]"><?php 
echo my_set_value('testimonial');
?>
</textarea>
					
					<input type="file" name="picture" id="picture" class="validate[required, custom[validateMIME[image/jpeg|image/png|image/gif|image/bmp]]]" style="opacity: 0;" />
					<input type="submit" value="Отправить" />
					<a href="#" id="file_upload_link">Загрузить фото</a>
				</form>
<script type="text/javascript">
$('#file_upload_link').click(function(e)
{
    $('#picture').click();
    e.preventDefault();
});
</script>
			</div>
コード例 #17
0
ファイル: login.php プロジェクト: Owchzzz/VisionPay
	<div class="section_page">
		<form action="/user/login" method="post" class="form_login" name="frm_login" id="frm_login">
			
			<?php 
echo validation_errors();
?>
			<?php 
echo $form_submit_message;
?>

			<label><?php 
echo lang('your_username');
?>
</label>
			<input type="text" value="<?php 
echo my_set_value('login');
?>
" name="login" id="login" class="validate[required]" />
			<label><?php 
echo lang('password');
?>
</label>
			<input type="password" name="password" id="password" class="validate[required]" />
				<input type="submit" value="<?php 
echo lang('save');
?>
" />
				<p class="p_objaz"><a href="/user/forgot_password"><em><?php 
echo lang('forgot _our_password');
?>
?</em></a></p>
コード例 #18
0
<span>*</span></label>
			<input type="password" name="fin_password" id="fin_password" class="validate[required]" />
			<label><?php 
echo lang('purse');
?>
 OKPAY<span>*</span></label>
			<input type="text" name="ok_pay_wallet" id="ok_pay_wallet" value="<?php 
echo my_set_value('ok_pay_wallet', $ok_pay_wallet);
?>
" class="validate[required]" />
			<label><?php 
echo lang('purse');
?>
 лЪлю <span>*</span></label>
			<input type="text" name="pm_wallet" id="pm_wallet" value="<?php 
echo my_set_value('pm_wallet', $pm_wallet);
?>
" class="validate[required]" />
			<p class="p_objaz">* <?php 
echo lang('required_fields');
?>
</p>
			<input type="submit" value="<?php 
echo lang('save');
?>
" />
		</form>
		<div class="div_warning">
			<h6><?php 
echo lang('attention');
?>
コード例 #19
0
                    <img id="preview" title="Click vào để chọn hình" style="cursor: pointer" src="<?php 
echo $form_data['file_url'];
?>
"  onclick="return openManager('<?php 
echo base_url();
?>
','advs');" />
                    <input type="hidden" name="file_id" id="file_id" value="<?php 
echo $form_data['file_id'];
?>
" />
                </div>
                <div class="wrap-row">
                    <label>Thông tin thêm: </label>
                    <textarea id="textarea" name="desc" cols="108" rows="25" class="editor"><?php 
echo my_set_value('desc', $form_data['desc']);
?>
</textarea>
                </div>
                <div class="wrap-row">
                    <label style="margin-top: 5px;"></label>
                    <input type="checkbox" name="status" id="status" value="1" <?php 
echo my_set_checkbox('status', $form_data['status'], 1);
?>
 />
                    <label for="status" style="float:none;">Hiện trên trang chủ</label>
                </div>
                <p style="border:none;padding-bottom:0px;">
                    <label></label>
                    <span>(*):Bắt buộc nhập</span>
                </div>
コード例 #20
0
?>
" method="post" name="frm_change_email" id="frm_change_email">
		
			<?php 
echo validation_errors();
?>
			<?php 
echo $form_submit_message;
?>
		
			<label><?php 
echo lang('email');
?>
 <span>*</span></label>
			<input type="text" name="email" id="email" value="<?php 
echo my_set_value('email', $email);
?>
" class="validate[required, custom[email], ajax[ajaxEmailCallPhp]]" />
			<p class="p_objaz">* <?php 
echo lang('required_fields');
?>
</p>
			<input type="submit" value="<?php 
echo lang('save');
?>
" />
		</form>
	</div>
	<div class="hfooter"></div>
</div>
<!--main-->