Exemple #1
0
echo custom_set_value('email_verified') == 0 ? 'selected="selected"' : '';
?>
 value="0">Unverified</option>
                </select>
            </div>
        </div>
        <div class="control-group">
            <label for="inputError" class="control-label">Status</label>
            <div class="controls">
                <select name="status">
                    <option <?php 
echo custom_set_value('status') == 'Active' ? 'selected="selected"' : '';
?>
  value="Active">Active</option>
                    <option <?php 
echo custom_set_value('status') == 'Inactive' ? 'selected="selected"' : '';
?>
 value="Inactive">Inactive</option>
                </select>
            </div>
        </div>
        <div class="form-actions">
            <button class="btn btn-primary" type="submit">Save changes</button>
            <a class="btn" href="<?php 
echo site_url('admin');
?>
/user">Cancel</a>
        </div>
    </fieldset>

    <?php 
            </div>
            <div class="control-group bottom_space">
                <label for="inputError" class="control-label aff_left_user">Confirm Email<span class="star">*</span></label>
                <div class="controls aff_left_user_r">
                    <input type="text" id="confirm_email" name="confirm_email" value="<?php 
echo custom_set_value('confirm_email');
?>
" >
                </div>
            </div>
            <div class="control-group bottom_space">
                <label for="inputError" class="control-label aff_left_user">Description(copy Html)<span class="star">*</span></label>
                <div class="controls aff_left_user_r">
                    <textarea  id="description" name="description" class="des_height"><?php 
echo custom_set_value('description');
?>
</textarea>
                </div>
            </div>

            <div class="form-actions">
                <button class="btn_mult" type="submit">Send Email</button>
            </div>
        </fieldset>

        <?php 
echo form_close();
?>
    </div>
</section>
                        <h1>Create Account</h1>
                        <form action="<?php 
    echo site_url('signup/create_member_site');
    ?>
" method="post" name="create_account">
                            <div><input type="hidden" name="type" value="user"></div>
                            <div style ="margin:1em 0;"><label>User Name:<span class="star">*</span></label> <input type="text" value="<?php 
    echo custom_set_value('username');
    ?>
" name="username" class="signup_input"></div>
                            <div style ="margin:1em 0;"><label>Email:<span class="star">*</span></label> <input type="text" value="<?php 
    echo custom_set_value('create_email');
    ?>
" name="create_email" class="signup_input"></div>
                            <div style ="margin:1em 0;"><label>Confirm Email: </label><input type ="text" value ="<?php 
    echo custom_set_value('create_email_confirm');
    ?>
" name="create_email_confirm" class="signup_input"></div>
                            <div style ="margin:1em 0;"><label>Password:<span class="star">*</span></label> <input type="password" value="" name ="password" class="signup_input"></div>
                            <div style ="margin:1em 0;"><label>Confirm Password:</label> <input type="password" value="" name="password_confirm" class="signup_input"></div>
                            <input type ="submit"  class ="signup_btn" value ="Create Account">
                        </form>
                    </article>
                </div>
            </div>
            <?php 
}
?>
    </section>
</div>
</main>
        </h2>
    </div>

    <?php 
//form data
$attributes = array('class' => 'form-horizontal', 'id' => '');
//form validation
echo validation_errors();
echo form_open('admin/category_price', $attributes);
?>
    <fieldset>
        <div class="control-group">
            <label for="inputError" class="control-label">Price<span class="star">*</span></label>
            <div class="controls">
                <input type="text" id="price" name="price" value="<?php 
echo custom_set_value('price');
?>
" >
            </div>
        </div>
        <div class="form-actions">
            <button class="btn btn-primary" type="submit">Save changes</button>
            <a class="btn" href="<?php 
echo site_url('admin');
?>
">Cancel</a>
        </div>
    </fieldset>
    <?php 
echo form_close();
?>
                            </div>
                        </div>
                    </div>
                </div>
            <?php 
}
?>

            <div class="control-group bottom_space">
                <label for="inputError" class="control-label left"><?php 
echo _clang(WRITE_ADD_PROMOCODE);
?>
</label>
                <div class="controls left_r">
                    <input type="text" id="promocode" name="promocode" value="<?php 
echo custom_set_value('promocode');
?>
" >

                </div>
            </div>

            <div class="control-group bottom_space" id="ab">

                <div class="controls left_r">
                    <div class="comment_recaptcha"><?php 
echo $recaptcha_html;
?>
</div>
                </div>
            </div>
    echo site_url('affiliate/create_member_site');
    ?>
" method="post" name="affiliate_create_account">
                            <div><input type="hidden" name="type" value="affiliate"></div>
                            <div style = "margin:1em 0;"><label><?php 
    echo _clang(USERNAME);
    ?>
<span class="star">*</span></label> <input type = "text" value = "<?php 
    echo custom_set_value('username');
    ?>
" name = "username" class="signup_input"></div>
                            <div style = "margin:1em 0;"><label><?php 
    echo _clang(WRITE_ADD_EMAIL);
    ?>
<span class="star">*</span></label> <input type = "text" value = "<?php 
    echo custom_set_value('create_email');
    ?>
" name = "create_email" class="signup_input"></div>
                            <div style = "margin:1em 0;"><label><?php 
    echo _clang(WRITE_ADD_CONFIRM_EMAIL);
    ?>
</label><input type = "text" value = "" name = "create_email_confirm" class="signup_input"></div>
                            <div style = "margin:1em 0;"><label><?php 
    echo _clang(PASSWORD);
    ?>
<span class="star">*</span></label> <input type = "password" value = "" name = "password" class="signup_input"></div>
                            <div style = "margin:1em 0;"><label><?php 
    echo _clang(C_PASSWORD);
    ?>
</label> <input type ="password" value = "" name ="password_confirm" class="signup_input"></div>
                            <input type ="submit"  class ="signup_btn" value ="<?php 
Exemple #7
0
          </div>
          <div class="control-group">
            <label for="inputError" class="control-label">Author Zip-code</label>
            <div class="controls">
            <input name="author_zipcode" value="<?php 
echo custom_set_value('author_zipcode');
?>
" type="text" />
              <!--<span class="help-inline">Woohoo!</span>-->
            </div>
          </div>
          <div class="control-group">
            <label for="inputError" class="control-label">Author City</label>
            <div class="controls">
             <input name="author_city" value="<?php 
echo custom_set_value('author_city');
?>
" type="text" />
              <!--<span class="help-inline">Woohoo!</span>-->
            </div>
          </div>
       
            <div class="control-group">
            <label for="inputError" class="control-label">Website URL</label>
            <div class="controls">
              <input name="website_url" type="text" value="<?php 
echo set_value('website_url');
?>
"/>
              <!--<span class="help-inline">Woohoo!</span>-->
            </div>
?>
        <div class="control-group">
            <label for="inputError" class="control-label">Price</label>
            <div class="controls">
                <input type="text" id="price" name="price" value="<?php 
echo custom_set_value('price');
?>
" >

            </div>
        </div>
        <div class="control-group">
            <label for="inputError" class="control-label">Display Order<span class="star">*</span></label>
            <div class="controls">
                <input type="text" id="display_order" name="display_order" value="<?php 
echo custom_set_value('display_order');
?>
" >
            </div>
        </div>
        <div class="control-group">
            <label for="inputError" class="control-label">Is Adult</label>
            <div class="controls">
                <input type="checkbox" id="is_adult" name="is_adult" value="YES" >
            </div>
        </div>
        <div class="control-group">
            <label for="inputError" class="control-label">Status</label>
            <div class="controls">
                <select name="status">
                    <option <?php 
</label><input type="password" class="ragister_input" value ="<?php 
    echo custom_set_value("old_password");
    ?>
" name ="old_password"></div>
                            <div style = "margin:1em 0;"><label><?php 
    echo _clang(NEW_PASSWORD);
    ?>
 <span class="star">*</span></label><input type="password" class="ragister_input" value ="<?php 
    echo custom_set_value("password");
    ?>
" name ="password"></div>
                            <div style = "margin:1em 0;"><label><?php 
    echo _clang(C_NEW_PASSWORD);
    ?>
<span class="star">*</span></label> <input type="password" class="ragister_input" value="<?php 
    echo custom_set_value("password2");
    ?>
" name="password2"></div>
                            <input type="submit" name="Submit" class="login_btn" value="<?php 
    echo _clang(SET_PASSWORD);
    ?>
" >
                        </form>
                    </article>
                </div>
            </div>
            <?php 
} else {
    echo "Please login first";
}
?>
            <div class="controls">
                <input type="text" id="currency_type" name="currency_type" value="<?php 
echo set_value('currency_type');
?>
" >
            </div>
        </div>
        <div class="control-group">
            <label for="inputError" class="control-label">Active Language</label>
            <div class="controls">
                <select name="language_shortcode">
                    <?php 
for ($i = 0; $i < count($site_language); $i++) {
    ?>
                        <option <?php 
    echo custom_set_value($site_language[$i]['language_shortcode']) == $site_language[$i]['language_shortcode'] ? 'selected="selected"' : '';
    ?>
  value="<?php 
    echo $site_language[$i]['language_shortcode'];
    ?>
"><?php 
    echo $site_language[$i]['language_longform'];
    ?>
</option>
                    <?php 
}
?>
                </select>
            </div>
        </div>
        <div class="form-actions">
                            <label><?php 
    echo _clang(EXPIRATION);
    ?>
</label>
                            <input type = "text" value ="<?php 
    echo custom_set_value('expire');
    ?>
" placeholder="MM/DD/YY" id="expire" name="expire" class="signup_input">
                        </div>
                        <div style = "margin:1em 0;">
                            <label><?php 
    echo _clang(CVV);
    ?>
</label>
                            <input type = "text" value="<?php 
    echo custom_set_value('cvv_code');
    ?>
" name="cvv_code" class="signup_input">
                        </div>
                        <input type = "submit" id="card_s_btn" value = "<?php 
    echo _clang(SAVE);
    ?>
">
                    </form>
                </article>
            <?php 
}
?>
        </div>
    </div>
</section>
            <label for="inputError" class="control-label">Email:<span class="star">*</span></label>
            <div class="controls">
                <input type="text" id="" name="email" value="" >
            </div>
        </div>
        <div class="control-group">
            <label for="inputError" class="control-label">Confirm Email:<span class="star">*</span></label>
            <div class="controls">
                <input type="text" class="requir" id="confirm_email" name="confirm_email" value="" >
            </div>
        </div>
        <div class="control-group">
            <label for="inputError" class="control-label">Contact Number:<span class="star">*</span></label>
            <div class="controls">
                <input type="text" id="contact_number" name="contact_number" value="<?php 
echo custom_set_value('contact_numbers');
?>
" >

            </div>
        </div>
        <div class="control-group">
            <label for="inputError" class="control-label">Email Enquiries</label>
            <div class="controls">
                <input type="radio" name="inquery" <?php 
echo custom_set_radio('inquery', 'yes');
?>
 value="yes" ><span>Hide my email address and forward email inquiries to me.</span><br />
                <input type="radio" name="inquery" <?php 
echo custom_set_radio('inquery', 'no');
?>