Files
crm-ms1/smartadmroot/form-templates.php
2026-05-27 11:44:10 -04:00

1690 lines
54 KiB
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
//initilize the page
require_once 'init.web.php';
/*---------------- PHP Custom Scripts ---------
YOU CAN SET CONFIGURATION VARIABLES HERE BEFORE IT GOES TO NAV, RIBBON, ETC.
E.G. $page_title = "Custom Title" */
$page_title = "Form Layouts";
/* ---------------- END PHP Custom Scripts ------------- */
//include header
//you can add your custom css in $page_css array.
//Note: all css files are inside css/ folder
$page_css[] = "your_style.css";
include("inc/header.php");
//include left panel (navigation)
//follow the tree in inc/config.ui.php
$page_nav["forms"]["sub"]["smart_layout"]["active"] = true;
include("inc/nav.php");
?>
<!-- ==========================CONTENT STARTS HERE ========================== -->
<!-- MAIN PANEL -->
<div id="main" role="main">
<?php
//configure ribbon (breadcrumbs) array("name"=>"url"), leave url empty if no url
//$breadcrumbs["New Crumb"] => "http://url.com"
$breadcrumbs["Forms"] = "";
include("inc/ribbon.php");
?>
<!-- MAIN CONTENT -->
<div id="content">
<div class="row">
<div class="col-xs-12 col-sm-9 col-md-9 col-lg-9">
<h1 class="page-title txt-color-blueDark">
<!-- PAGE HEADER -->
<i class="fa-fw fa fa-pencil-square-o"></i>
Forms
<span>>
Form Layouts
</span>
</h1>
</div>
<div class="col-xs-12 col-sm-3 col-md-3 col-lg-3">
<!-- Button trigger modal -->
<a data-toggle="modal" href="#myModal" class="btn btn-success btn-lg pull-right header-btn hidden-mobile"><i class="fa fa-circle-arrow-up fa-lg"></i> Launch form modal</a>
</div>
</div>
<div class="alert alert-block alert-success">
<a class="close" data-dismiss="alert" href="#">×</a>
<h4 class="alert-heading"><i class="fa fa-check-square-o"></i> Check validation!</h4>
<p>
You may also check the form validation by clicking on the form action button. Please try and see the results below!
</p>
</div>
<!-- widget grid -->
<section id="widget-grid" class="">
<!-- START ROW -->
<div class="row">
<!-- NEW COL START -->
<article class="col-sm-12 col-md-12 col-lg-6">
<!-- Widget ID (each widget will need unique ID)-->
<div class="jarviswidget" id="wid-id-1" data-widget-editbutton="false" data-widget-custombutton="false">
<!-- widget options:
usage: <div class="jarviswidget" id="wid-id-0" data-widget-editbutton="false">
data-widget-colorbutton="false"
data-widget-editbutton="false"
data-widget-togglebutton="false"
data-widget-deletebutton="false"
data-widget-fullscreenbutton="false"
data-widget-custombutton="false"
data-widget-collapsed="true"
data-widget-sortable="false"
-->
<header>
<span class="widget-icon"> <i class="fa fa-edit"></i> </span>
<h2>Checkout Form </h2>
</header>
<!-- widget div-->
<div>
<!-- widget edit box -->
<div class="jarviswidget-editbox">
<!-- This area used as dropdown edit box -->
</div>
<!-- end widget edit box -->
<!-- widget content -->
<div class="widget-body no-padding">
<form id="checkout-form" class="smart-form" novalidate="novalidate">
<fieldset>
<div class="row">
<section class="col col-6">
<label class="input"> <i class="icon-prepend fa fa-user"></i>
<input type="text" name="fname" placeholder="First name">
</label>
</section>
<section class="col col-6">
<label class="input"> <i class="icon-prepend fa fa-user"></i>
<input type="text" name="lname" placeholder="Last name">
</label>
</section>
</div>
<div class="row">
<section class="col col-6">
<label class="input"> <i class="icon-prepend fa fa-envelope-o"></i>
<input type="email" name="email" placeholder="E-mail">
</label>
</section>
<section class="col col-6">
<label class="input"> <i class="icon-prepend fa fa-phone"></i>
<input type="tel" name="phone" placeholder="Phone" data-mask="(999) 999-9999">
</label>
</section>
</div>
</fieldset>
<fieldset>
<div class="row">
<section class="col col-5">
<label class="select">
<select name="country">
<option value="0" selected="" disabled="">Country</option>
<option value="244">Aaland Islands</option>
<option value="1">Afghanistan</option>
<option value="2">Albania</option>
<option value="3">Algeria</option>
<option value="4">American Samoa</option>
<option value="5">Andorra</option>
<option value="6">Angola</option>
<option value="7">Anguilla</option>
<option value="8">Antarctica</option>
<option value="9">Antigua and Barbuda</option>
<option value="10">Argentina</option>
<option value="11">Armenia</option>
<option value="12">Aruba</option>
<option value="13">Australia</option>
<option value="14">Austria</option>
<option value="15">Azerbaijan</option>
<option value="16">Bahamas</option>
<option value="17">Bahrain</option>
<option value="18">Bangladesh</option>
<option value="19">Barbados</option>
<option value="20">Belarus</option>
<option value="21">Belgium</option>
<option value="22">Belize</option>
<option value="23">Benin</option>
<option value="24">Bermuda</option>
<option value="25">Bhutan</option>
<option value="26">Bolivia</option>
<option value="245">Bonaire, Sint Eustatius and Saba</option>
<option value="27">Bosnia and Herzegovina</option>
<option value="28">Botswana</option>
<option value="29">Bouvet Island</option>
<option value="30">Brazil</option>
<option value="31">British Indian Ocean Territory</option>
<option value="32">Brunei Darussalam</option>
<option value="33">Bulgaria</option>
<option value="34">Burkina Faso</option>
<option value="35">Burundi</option>
<option value="36">Cambodia</option>
<option value="37">Cameroon</option>
<option value="38">Canada</option>
<option value="251">Canary Islands</option>
<option value="39">Cape Verde</option>
<option value="40">Cayman Islands</option>
<option value="41">Central African Republic</option>
<option value="42">Chad</option>
<option value="43">Chile</option>
<option value="44">China</option>
<option value="45">Christmas Island</option>
<option value="46">Cocos (Keeling) Islands</option>
<option value="47">Colombia</option>
<option value="48">Comoros</option>
<option value="49">Congo</option>
<option value="50">Cook Islands</option>
<option value="51">Costa Rica</option>
<option value="52">Cote D'Ivoire</option>
<option value="53">Croatia</option>
<option value="54">Cuba</option>
<option value="246">Curacao</option>
<option value="55">Cyprus</option>
<option value="56">Czech Republic</option>
<option value="237">Democratic Republic of Congo</option>
<option value="57">Denmark</option>
<option value="58">Djibouti</option>
<option value="59">Dominica</option>
<option value="60">Dominican Republic</option>
<option value="61">East Timor</option>
<option value="62">Ecuador</option>
<option value="63">Egypt</option>
<option value="64">El Salvador</option>
<option value="65">Equatorial Guinea</option>
<option value="66">Eritrea</option>
<option value="67">Estonia</option>
<option value="68">Ethiopia</option>
<option value="69">Falkland Islands (Malvinas)</option>
<option value="70">Faroe Islands</option>
<option value="71">Fiji</option>
<option value="72">Finland</option>
<option value="74">France, skypolitan</option>
<option value="75">French Guiana</option>
<option value="76">French Polynesia</option>
<option value="77">French Southern Territories</option>
<option value="126">FYROM</option>
<option value="78">Gabon</option>
<option value="79">Gambia</option>
<option value="80">Georgia</option>
<option value="81">Germany</option>
<option value="82">Ghana</option>
<option value="83">Gibraltar</option>
<option value="84">Greece</option>
<option value="85">Greenland</option>
<option value="86">Grenada</option>
<option value="87">Guadeloupe</option>
<option value="88">Guam</option>
<option value="89">Guatemala</option>
<option value="241">Guernsey</option>
<option value="90">Guinea</option>
<option value="91">Guinea-Bissau</option>
<option value="92">Guyana</option>
<option value="93">Haiti</option>
<option value="94">Heard and Mc Donald Islands</option>
<option value="95">Honduras</option>
<option value="96">Hong Kong</option>
<option value="97">Hungary</option>
<option value="98">Iceland</option>
<option value="99">India</option>
<option value="100">Indonesia</option>
<option value="101">Iran (Islamic Republic of)</option>
<option value="102">Iraq</option>
<option value="103">Ireland</option>
<option value="104">Israel</option>
<option value="105">Italy</option>
<option value="106">Jamaica</option>
<option value="107">Japan</option>
<option value="240">Jersey</option>
<option value="108">Jordan</option>
<option value="109">Kazakhstan</option>
<option value="110">Kenya</option>
<option value="111">Kiribati</option>
<option value="113">Korea, Republic of</option>
<option value="114">Kuwait</option>
<option value="115">Kyrgyzstan</option>
<option value="116">Lao People's Democratic Republic</option>
<option value="117">Latvia</option>
<option value="118">Lebanon</option>
<option value="119">Lesotho</option>
<option value="120">Liberia</option>
<option value="121">Libyan Arab Jamahiriya</option>
<option value="122">Liechtenstein</option>
<option value="123">Lithuania</option>
<option value="124">Luxembourg</option>
<option value="125">Macau</option>
<option value="127">Madagascar</option>
<option value="128">Malawi</option>
<option value="129">Malaysia</option>
<option value="130">Maldives</option>
<option value="131">Mali</option>
<option value="132">Malta</option>
<option value="133">Marshall Islands</option>
<option value="134">Martinique</option>
<option value="135">Mauritania</option>
<option value="136">Mauritius</option>
<option value="137">Mayotte</option>
<option value="138">Mexico</option>
<option value="139">Micronesia, Federated States of</option>
<option value="140">Moldova, Republic of</option>
<option value="141">Monaco</option>
<option value="142">Mongolia</option>
<option value="242">Montenegro</option>
<option value="143">Montserrat</option>
<option value="144">Morocco</option>
<option value="145">Mozambique</option>
<option value="146">Myanmar</option>
<option value="147">Namibia</option>
<option value="148">Nauru</option>
<option value="149">Nepal</option>
<option value="150">Netherlands</option>
<option value="151">Netherlands Antilles</option>
<option value="152">New Caledonia</option>
<option value="153">New Zealand</option>
<option value="154">Nicaragua</option>
<option value="155">Niger</option>
<option value="156">Nigeria</option>
<option value="157">Niue</option>
<option value="158">Norfolk Island</option>
<option value="112">North Korea</option>
<option value="159">Northern Mariana Islands</option>
<option value="160">Norway</option>
<option value="161">Oman</option>
<option value="162">Pakistan</option>
<option value="163">Palau</option>
<option value="247">Palestinian Territory, Occupied</option>
<option value="164">Panama</option>
<option value="165">Papua New Guinea</option>
<option value="166">Paraguay</option>
<option value="167">Peru</option>
<option value="168">Philippines</option>
<option value="169">Pitcairn</option>
<option value="170">Poland</option>
<option value="171">Portugal</option>
<option value="172">Puerto Rico</option>
<option value="173">Qatar</option>
<option value="174">Reunion</option>
<option value="175">Romania</option>
<option value="176">Russian Federation</option>
<option value="177">Rwanda</option>
<option value="178">Saint Kitts and Nevis</option>
<option value="179">Saint Lucia</option>
<option value="180">Saint Vincent and the Grenadines</option>
<option value="181">Samoa</option>
<option value="182">San Marino</option>
<option value="183">Sao Tome and Principe</option>
<option value="184">Saudi Arabia</option>
<option value="185">Senegal</option>
<option value="243">Serbia</option>
<option value="186">Seychelles</option>
<option value="187">Sierra Leone</option>
<option value="188">Singapore</option>
<option value="189">Slovak Republic</option>
<option value="190">Slovenia</option>
<option value="191">Solomon Islands</option>
<option value="192">Somalia</option>
<option value="193">South Africa</option>
<option value="194">South Georgia &amp; South Sandwich Islands</option>
<option value="248">South Sudan</option>
<option value="195">Spain</option>
<option value="196">Sri Lanka</option>
<option value="249">St. Barthelemy</option>
<option value="197">St. Helena</option>
<option value="250">St. Martin (French part)</option>
<option value="198">St. Pierre and Miquelon</option>
<option value="199">Sudan</option>
<option value="200">Suriname</option>
<option value="201">Svalbard and Jan Mayen Islands</option>
<option value="202">Swaziland</option>
<option value="203">Sweden</option>
<option value="204">Switzerland</option>
<option value="205">Syrian Arab Republic</option>
<option value="206">Taiwan</option>
<option value="207">Tajikistan</option>
<option value="208">Tanzania, United Republic of</option>
<option value="209">Thailand</option>
<option value="210">Togo</option>
<option value="211">Tokelau</option>
<option value="212">Tonga</option>
<option value="213">Trinidad and Tobago</option>
<option value="214">Tunisia</option>
<option value="215">Turkey</option>
<option value="216">Turkmenistan</option>
<option value="217">Turks and Caicos Islands</option>
<option value="218">Tuvalu</option>
<option value="219">Uganda</option>
<option value="220">Ukraine</option>
<option value="221">United Arab Emirates</option>
<option value="222">United Kingdom</option>
<option value="223">United States</option>
<option value="224">United States Minor Outlying Islands</option>
<option value="225">Uruguay</option>
<option value="226">Uzbekistan</option>
<option value="227">Vanuatu</option>
<option value="228">Vatican City State (Holy See)</option>
<option value="229">Venezuela</option>
<option value="230">Viet Nam</option>
<option value="231">Virgin Islands (British)</option>
<option value="232">Virgin Islands (U.S.)</option>
<option value="233">Wallis and Futuna Islands</option>
<option value="234">Western Sahara</option>
<option value="235">Yemen</option>
<option value="238">Zambia</option>
<option value="239">Zimbabwe</option>
</select> <i></i> </label>
</section>
<section class="col col-4">
<label class="input">
<input type="text" name="city" placeholder="City">
</label>
</section>
<section class="col col-3">
<label class="input">
<input type="text" name="code" placeholder="Post code">
</label>
</section>
</div>
<section>
<label for="address2" class="input">
<input type="text" name="address2" id="address2" placeholder="Address">
</label>
</section>
<section>
<label class="textarea">
<textarea rows="3" name="info" placeholder="Additional info"></textarea>
</label>
</section>
</fieldset>
<fieldset>
<section>
<div class="inline-group">
<label class="radio">
<input type="radio" name="radio-inline" checked="">
<i></i>Visa</label>
<label class="radio">
<input type="radio" name="radio-inline">
<i></i>MasterCard</label>
<label class="radio">
<input type="radio" name="radio-inline">
<i></i>American Express</label>
</div>
</section>
<section>
<label class="input">
<input type="text" name="name" placeholder="Name on card">
</label>
</section>
<div class="row">
<section class="col col-10">
<label class="input">
<input type="text" name="card" placeholder="Card number" data-mask="9999-9999-9999-9999">
</label>
</section>
<section class="col col-2">
<label class="input">
<input type="text" name="cvv" placeholder="CVV2" data-mask="999">
</label>
</section>
</div>
<div class="row">
<label class="label col col-4">Expiration date</label>
<section class="col col-5">
<label class="select">
<select name="month">
<option value="0" selected="" disabled="">Month</option>
<option value="1">January</option>
<option value="1">February</option>
<option value="3">March</option>
<option value="4">April</option>
<option value="5">May</option>
<option value="6">June</option>
<option value="7">July</option>
<option value="8">August</option>
<option value="9">September</option>
<option value="10">October</option>
<option value="11">November</option>
<option value="12">December</option>
</select> <i></i> </label>
</section>
<section class="col col-3">
<label class="input">
<input type="text" name="year" placeholder="Year" data-mask="2099">
</label>
</section>
</div>
</fieldset>
<footer>
<button type="submit" class="btn btn-primary">
Validate Form
</button>
</footer>
</form>
</div>
<!-- end widget content -->
</div>
<!-- end widget div -->
</div>
<!-- end widget -->
<!-- Widget ID (each widget will need unique ID)-->
<div class="jarviswidget" id="wid-id-3" data-widget-editbutton="false" data-widget-custombutton="false">
<!-- widget options:
usage: <div class="jarviswidget" id="wid-id-0" data-widget-editbutton="false">
data-widget-colorbutton="false"
data-widget-editbutton="false"
data-widget-togglebutton="false"
data-widget-deletebutton="false"
data-widget-fullscreenbutton="false"
data-widget-custombutton="false"
data-widget-collapsed="true"
data-widget-sortable="false"
-->
<header>
<span class="widget-icon"> <i class="fa fa-edit"></i> </span>
<h2>Registration form </h2>
</header>
<!-- widget div-->
<div>
<!-- widget edit box -->
<div class="jarviswidget-editbox">
<!-- This area used as dropdown edit box -->
</div>
<!-- end widget edit box -->
<!-- widget content -->
<div class="widget-body no-padding">
<form id="order-form" class="smart-form" novalidate="novalidate">
<header>
Order services
</header>
<fieldset>
<div class="row">
<section class="col col-6">
<label class="input"> <i class="icon-append fa fa-user"></i>
<input type="text" name="name" placeholder="Name">
</label>
</section>
<section class="col col-6">
<label class="input"> <i class="icon-append fa fa-briefcase"></i>
<input type="text" name="company" placeholder="Company">
</label>
</section>
</div>
<div class="row">
<section class="col col-6">
<label class="input"> <i class="icon-append fa fa-envelope-o"></i>
<input type="email" name="email" placeholder="E-mail">
</label>
</section>
<section class="col col-6">
<label class="input"> <i class="icon-append fa fa-phone"></i>
<input type="tel" name="phone" placeholder="Phone" data-mask="(999) 999-9999">
</label>
</section>
</div>
</fieldset>
<fieldset>
<div class="row">
<section class="col col-6">
<label class="select">
<select name="interested">
<option value="0" selected="" disabled="">Interested in</option>
<option value="1">design</option>
<option value="1">development</option>
<option value="2">illustration</option>
<option value="2">branding</option>
<option value="3">video</option>
</select> <i></i> </label>
</section>
<section class="col col-6">
<label class="select">
<select name="budget">
<option value="0" selected="" disabled="">Budget</option>
<option value="1">less than 5000$</option>
<option value="2">5000$ - 10000$</option>
<option value="3">10000$ - 20000$</option>
<option value="4">more than 20000$</option>
</select> <i></i> </label>
</section>
</div>
<div class="row">
<section class="col col-6">
<label class="input"> <i class="icon-append fa fa-calendar"></i>
<input type="text" name="startdate" id="startdate" placeholder="Expected start date">
</label>
</section>
<section class="col col-6">
<label class="input"> <i class="icon-append fa fa-calendar"></i>
<input type="text" name="finishdate" id="finishdate" placeholder="Expected finish date">
</label>
</section>
</div>
<section>
<div class="input input-file">
<span class="button"><input id="file2" type="file" name="file2" onchange="this.parentNode.nextSibling.value = this.value">Browse</span><input type="text" placeholder="Include some files" readonly="">
</div>
</section>
<section>
<label class="textarea"> <i class="icon-append fa fa-comment"></i>
<textarea rows="5" name="comment" placeholder="Tell us about your project"></textarea>
</label>
</section>
</fieldset>
<footer>
<button type="submit" class="btn btn-primary">
Validate Form
</button>
</footer>
</form>
</div>
<!-- end widget content -->
</div>
<!-- end widget div -->
</div>
<!-- end widget -->
<!-- Widget ID (each widget will need unique ID)-->
<div class="jarviswidget" id="wid-id-7" data-widget-editbutton="false" data-widget-custombutton="false">
<!-- widget options:
usage: <div class="jarviswidget" id="wid-id-0" data-widget-editbutton="false">
data-widget-colorbutton="false"
data-widget-editbutton="false"
data-widget-togglebutton="false"
data-widget-deletebutton="false"
data-widget-fullscreenbutton="false"
data-widget-custombutton="false"
data-widget-collapsed="true"
data-widget-sortable="false"
-->
<header>
<span class="widget-icon"> <i class="fa fa-edit"></i> </span>
<h2>Review form </h2>
</header>
<!-- widget div-->
<div>
<!-- widget edit box -->
<div class="jarviswidget-editbox">
<!-- This area used as dropdown edit box -->
</div>
<!-- end widget edit box -->
<!-- widget content -->
<div class="widget-body no-padding">
<form id="review-form" class="smart-form">
<header>
Review form
</header>
<fieldset>
<section>
<label class="input"> <i class="icon-append fa fa-user"></i>
<input type="text" name="name" id="name" placeholder="Your name">
</label>
</section>
<section>
<label class="input"> <i class="icon-append fa fa-envelope-o"></i>
<input type="email" name="email" id="email" placeholder="Your e-mail">
</label>
</section>
<section>
<label class="label"></label>
<label class="textarea"> <i class="icon-append fa fa-comment"></i>
<textarea rows="3" name="review" id="review" placeholder="Text of the review"></textarea>
</label>
</section>
<section>
<div class="rating">
<input type="radio" name="quality" id="quality-5">
<label for="quality-5"><i class="fa fa-star"></i></label>
<input type="radio" name="quality" id="quality-4">
<label for="quality-4"><i class="fa fa-star"></i></label>
<input type="radio" name="quality" id="quality-3">
<label for="quality-3"><i class="fa fa-star"></i></label>
<input type="radio" name="quality" id="quality-2">
<label for="quality-2"><i class="fa fa-star"></i></label>
<input type="radio" name="quality" id="quality-1">
<label for="quality-1"><i class="fa fa-star"></i></label>
Quality of the product
</div>
<div class="rating">
<input type="radio" name="reliability" id="reliability-5">
<label for="reliability-5"><i class="fa fa-star"></i></label>
<input type="radio" name="reliability" id="reliability-4">
<label for="reliability-4"><i class="fa fa-star"></i></label>
<input type="radio" name="reliability" id="reliability-3">
<label for="reliability-3"><i class="fa fa-star"></i></label>
<input type="radio" name="reliability" id="reliability-2">
<label for="reliability-2"><i class="fa fa-star"></i></label>
<input type="radio" name="reliability" id="reliability-1">
<label for="reliability-1"><i class="fa fa-star"></i></label>
Reliability of the product
</div>
<div class="rating">
<input type="radio" name="overall" id="overall-5">
<label for="overall-5"><i class="fa fa-star"></i></label>
<input type="radio" name="overall" id="overall-4">
<label for="overall-4"><i class="fa fa-star"></i></label>
<input type="radio" name="overall" id="overall-3">
<label for="overall-3"><i class="fa fa-star"></i></label>
<input type="radio" name="overall" id="overall-2">
<label for="overall-2"><i class="fa fa-star"></i></label>
<input type="radio" name="overall" id="overall-1">
<label for="overall-1"><i class="fa fa-star"></i></label>
Overall rating
</div>
</section>
</fieldset>
<footer>
<button type="submit" class="btn btn-primary">
Validate Form
</button>
</footer>
</form>
</div>
<!-- end widget content -->
</div>
<!-- end widget div -->
</div>
<!-- end widget -->
</article>
<!-- END COL -->
<!-- NEW COL START -->
<article class="col-sm-12 col-md-12 col-lg-6">
<!-- Widget ID (each widget will need unique ID)-->
<div class="jarviswidget" id="wid-id-4" data-widget-editbutton="false" data-widget-custombutton="false">
<!-- widget options:
usage: <div class="jarviswidget" id="wid-id-0" data-widget-editbutton="false">
data-widget-colorbutton="false"
data-widget-editbutton="false"
data-widget-togglebutton="false"
data-widget-deletebutton="false"
data-widget-fullscreenbutton="false"
data-widget-custombutton="false"
data-widget-collapsed="true"
data-widget-sortable="false"
-->
<header>
<span class="widget-icon"> <i class="fa fa-edit"></i> </span>
<h2>Registration form </h2>
</header>
<!-- widget div-->
<div>
<!-- widget edit box -->
<div class="jarviswidget-editbox">
<!-- This area used as dropdown edit box -->
</div>
<!-- end widget edit box -->
<!-- widget content -->
<div class="widget-body no-padding">
<form id="smart-form-register" class="smart-form">
<header>
Registration form
</header>
<fieldset>
<section>
<label class="input"> <i class="icon-append fa fa-user"></i>
<input type="text" name="username" placeholder="Username">
<b class="tooltip tooltip-bottom-right">Needed to enter the website</b> </label>
</section>
<section>
<label class="input"> <i class="icon-append fa fa-envelope-o"></i>
<input type="email" name="email" placeholder="Email address">
<b class="tooltip tooltip-bottom-right">Needed to verify your account</b> </label>
</section>
<section>
<label class="input"> <i class="icon-append fa fa-lock"></i>
<input type="password" name="password" placeholder="Password" id="password">
<b class="tooltip tooltip-bottom-right">Don't forget your password</b> </label>
</section>
<section>
<label class="input"> <i class="icon-append fa fa-lock"></i>
<input type="password" name="passwordConfirm" placeholder="Confirm password">
<b class="tooltip tooltip-bottom-right">Don't forget your password</b> </label>
</section>
</fieldset>
<fieldset>
<div class="row">
<section class="col col-6">
<label class="input">
<input type="text" name="firstname" placeholder="First name">
</label>
</section>
<section class="col col-6">
<label class="input">
<input type="text" name="lastname" placeholder="Last name">
</label>
</section>
</div>
<div class="row">
<section class="col col-6">
<label class="select">
<select name="gender">
<option value="0" selected="" disabled="">Gender</option>
<option value="1">Male</option>
<option value="2">Female</option>
<option value="3">Prefer not to answer</option>
</select> <i></i> </label>
</section>
<section class="col col-6">
<label class="input"> <i class="icon-append fa fa-calendar"></i>
<input type="text" name="request" placeholder="Request activation on" class="datepicker" data-dateformat='dd/mm/yy'>
</label>
</section>
</div>
<section>
<label class="checkbox">
<input type="checkbox" name="subscription" id="subscription">
<i></i>I want to receive news and special offers</label>
<label class="checkbox">
<input type="checkbox" name="terms" id="terms">
<i></i>I agree with the Terms and Conditions</label>
</section>
</fieldset>
<footer>
<button type="submit" class="btn btn-primary">
Validate Form
</button>
</footer>
</form>
</div>
<!-- end widget content -->
</div>
<!-- end widget div -->
</div>
<!-- end widget -->
<!-- Widget ID (each widget will need unique ID)-->
<div class="jarviswidget" id="wid-id-6" data-widget-editbutton="false" data-widget-custombutton="false">
<!-- widget options:
usage: <div class="jarviswidget" id="wid-id-0" data-widget-editbutton="false">
data-widget-colorbutton="false"
data-widget-editbutton="false"
data-widget-togglebutton="false"
data-widget-deletebutton="false"
data-widget-fullscreenbutton="false"
data-widget-custombutton="false"
data-widget-collapsed="true"
data-widget-sortable="false"
-->
<header>
<span class="widget-icon"> <i class="fa fa-edit"></i> </span>
<h2>Comment form </h2>
</header>
<!-- widget div-->
<div>
<!-- widget edit box -->
<div class="jarviswidget-editbox">
<!-- This area used as dropdown edit box -->
</div>
<!-- end widget edit box -->
<!-- widget content -->
<div class="widget-body no-padding">
<form action="php/demo-comment.php" method="post" id="comment-form" class="smart-form">
<header>
Comment form
</header>
<fieldset>
<div class="row">
<section class="col col-4">
<label class="label">Name</label>
<label class="input"> <i class="icon-append fa fa-user"></i>
<input type="text" name="name">
</label>
</section>
<section class="col col-4">
<label class="label">E-mail</label>
<label class="input"> <i class="icon-append fa fa-envelope-o"></i>
<input type="email" name="email">
</label>
</section>
<section class="col col-4">
<label class="label">Website</label>
<label class="input"> <i class="icon-append fa fa-globe"></i>
<input type="url" name="url">
</label>
</section>
</div>
<section>
<label class="label">Comment</label>
<label class="textarea"> <i class="icon-append fa fa-comment"></i> <textarea rows="4" name="comment"></textarea> </label>
<div class="note">
You may use these HTML tags and attributes: &lt;a href="" title=""&gt;, &lt;abbr title=""&gt;, &lt;acronym title=""&gt;, &lt;b&gt;, &lt;blockquote cite=""&gt;, &lt;cite&gt;, &lt;code&gt;, &lt;del datetime=""&gt;, &lt;em&gt;, &lt;i&gt;, &lt;q cite=""&gt;, &lt;strike&gt;, &lt;strong&gt;.
</div>
</section>
</fieldset>
<footer>
<button type="submit" name="submit" class="btn btn-primary">
Validate Form
</button>
</footer>
<div class="message">
<i class="fa fa-check fa-lg"></i>
<p>
Your comment was successfully added!
</p>
</div>
</form>
</div>
<!-- end widget content -->
</div>
<!-- end widget div -->
</div>
<!-- end widget -->
<!-- Widget ID (each widget will need unique ID)-->
<div class="jarviswidget" id="wid-id-8" data-widget-editbutton="false" data-widget-custombutton="false">
<!-- widget options:
usage: <div class="jarviswidget" id="wid-id-0" data-widget-editbutton="false">
data-widget-colorbutton="false"
data-widget-editbutton="false"
data-widget-togglebutton="false"
data-widget-deletebutton="false"
data-widget-fullscreenbutton="false"
data-widget-custombutton="false"
data-widget-collapsed="true"
data-widget-sortable="false"
-->
<header>
<span class="widget-icon"> <i class="fa fa-edit"></i> </span>
<h2>Contacts form </h2>
</header>
<!-- widget div-->
<div>
<!-- widget edit box -->
<div class="jarviswidget-editbox">
<!-- This area used as dropdown edit box -->
</div>
<!-- end widget edit box -->
<!-- widget content -->
<div class="widget-body no-padding">
<form action="demo-contacts.php" method="post" id="contact-form" class="smart-form">
<header>Contacts form</header>
<fieldset>
<div class="row">
<section class="col col-6">
<label class="label">Name</label>
<label class="input">
<i class="icon-append fa fa-user"></i>
<input type="text" name="named" id="named">
</label>
</section>
<section class="col col-6">
<label class="label">E-mail</label>
<label class="input">
<i class="icon-append fa fa-envelope-o"></i>
<input type="email" name="emaild" id="emaild">
</label>
</section>
</div>
<section>
<label class="label">Subject</label>
<label class="input">
<i class="icon-append fa fa-tag"></i>
<input type="text" name="subject" id="subject">
</label>
</section>
<section>
<label class="label">Message</label>
<label class="textarea">
<i class="icon-append fa fa-comment"></i>
<textarea rows="4" name="message" id="message"></textarea>
</label>
</section>
<section>
<label class="checkbox"><input type="checkbox" name="copy" id="copy"><i></i>Send a copy to my e-mail address</label>
</section>
</fieldset>
<footer>
<button type="submit" class="btn btn-primary">Validate Form</button>
</footer>
<div class="message">
<i class="fa fa-thumbs-up"></i>
<p>Your message was successfully sent!</p>
</div>
</form>
</div>
<!-- end widget content -->
</div>
<!-- end widget div -->
</div>
<!-- end widget -->
</article>
<!-- END COL -->
</div>
<!-- END ROW -->
</section>
<!-- end widget grid -->
<!-- Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
&times;
</button>
<h4 class="modal-title">
<img src="<?php echo ASSETS_URL; ?>/img/logo.png" width="150" alt="SmartAdmin">
</h4>
</div>
<div class="modal-body no-padding">
<form id="login-form" class="smart-form">
<fieldset>
<section>
<div class="row">
<label class="label col col-2">Username</label>
<div class="col col-10">
<label class="input"> <i class="icon-append fa fa-user"></i>
<input type="email" name="email">
</label>
</div>
</div>
</section>
<section>
<div class="row">
<label class="label col col-2">Password</label>
<div class="col col-10">
<label class="input"> <i class="icon-append fa fa-lock"></i>
<input type="password" name="password">
</label>
<div class="note">
<a href="javascript:void(0)">Forgot password?</a>
</div>
</div>
</div>
</section>
<section>
<div class="row">
<div class="col col-2"></div>
<div class="col col-10">
<label class="checkbox">
<input type="checkbox" name="remember" checked="">
<i></i>Keep me logged in</label>
</div>
</div>
</section>
</fieldset>
<footer>
<button type="submit" class="btn btn-primary">
Sign in
</button>
<button type="button" class="btn btn-default" data-dismiss="modal">
Cancel
</button>
</footer>
</form>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
</div>
<!-- END MAIN CONTENT -->
</div>
<!-- END MAIN PANEL -->
<!-- ==========================CONTENT ENDS HERE ========================== -->
<?php
// include page footer
include("inc/footer.php");
?>
<?php
//include required scripts
include("inc/scripts.php");
?>
<!-- PAGE RELATED PLUGIN(S) -->
<script src="<?php echo ASSETS_URL; ?>/js/plugin/jquery-form/jquery-form.min.js"></script>
<script type="text/javascript">
// DO NOT REMOVE : GLOBAL FUNCTIONS!
$(document).ready(function() {
var errorClass = 'invalid';
var errorElement = 'em';
var $checkoutForm = $('#checkout-form').validate({
errorClass : errorClass,
errorElement : errorElement,
highlight: function(element) {
$(element).parent().removeClass('state-success').addClass("state-error");
$(element).removeClass('valid');
},
unhighlight: function(element) {
$(element).parent().removeClass("state-error").addClass('state-success');
$(element).addClass('valid');
},
// Rules for form validation
rules : {
fname : {
required : true
},
lname : {
required : true
},
email : {
required : true,
email : true
},
phone : {
required : true
},
country : {
required : true
},
city : {
required : true
},
code : {
required : true,
digits : true
},
address : {
required : true
},
name : {
required : true
},
card : {
required : true,
creditcard : true
},
cvv : {
required : true,
digits : true
},
month : {
required : true
},
year : {
required : true,
digits : true
}
},
// Messages for form validation
messages : {
fname : {
required : 'Please enter your first name'
},
lname : {
required : 'Please enter your last name'
},
email : {
required : 'Please enter your email address',
email : 'Please enter a VALID email address'
},
phone : {
required : 'Please enter your phone number'
},
country : {
required : 'Please select your country'
},
city : {
required : 'Please enter your city'
},
code : {
required : 'Please enter code',
digits : 'Digits only please'
},
address : {
required : 'Please enter your full address'
},
name : {
required : 'Please enter name on your card'
},
card : {
required : 'Please enter your card number'
},
cvv : {
required : 'Enter CVV2',
digits : 'Digits only'
},
month : {
required : 'Select month'
},
year : {
required : 'Enter year',
digits : 'Digits only please'
}
},
// Do not change code below
errorPlacement : function(error, element) {
error.insertAfter(element.parent());
}
});
var $registerForm = $("#smart-form-register").validate({
errorClass : errorClass,
errorElement : errorElement,
highlight: function(element) {
$(element).parent().removeClass('state-success').addClass("state-error");
$(element).removeClass('valid');
},
unhighlight: function(element) {
$(element).parent().removeClass("state-error").addClass('state-success');
$(element).addClass('valid');
},
// Rules for form validation
rules : {
username : {
required : true
},
email : {
required : true,
email : true
},
password : {
required : true,
minlength : 3,
maxlength : 20
},
passwordConfirm : {
required : true,
minlength : 3,
maxlength : 20,
equalTo : '#password'
},
firstname : {
required : true
},
lastname : {
required : true
},
gender : {
required : true
},
terms : {
required : true
}
},
// Messages for form validation
messages : {
login : {
required : 'Please enter your login'
},
email : {
required : 'Please enter your email address',
email : 'Please enter a VALID email address'
},
password : {
required : 'Please enter your password'
},
passwordConfirm : {
required : 'Please enter your password one more time',
equalTo : 'Please enter the same password as above'
},
firstname : {
required : 'Please select your first name'
},
lastname : {
required : 'Please select your last name'
},
gender : {
required : 'Please select your gender'
},
terms : {
required : 'You must agree with Terms and Conditions'
}
},
// Do not change code below
errorPlacement : function(error, element) {
error.insertAfter(element.parent());
}
});
var $reviewForm = $("#review-form").validate({
errorClass : errorClass,
errorElement : errorElement,
highlight: function(element) {
$(element).parent().removeClass('state-success').addClass("state-error");
$(element).removeClass('valid');
},
unhighlight: function(element) {
$(element).parent().removeClass("state-error").addClass('state-success');
$(element).addClass('valid');
},
// Rules for form validation
rules : {
name : {
required : true
},
email : {
required : true,
email : true
},
review : {
required : true,
minlength : 20
},
quality : {
required : true
},
reliability : {
required : true
},
overall : {
required : true
}
},
// Messages for form validation
messages : {
name : {
required : 'Please enter your name'
},
email : {
required : 'Please enter your email address',
email : '<i class="fa fa-warning"></i><strong>Please enter a VALID email addres</strong>'
},
review : {
required : 'Please enter your review'
},
quality : {
required : 'Please rate quality of the product'
},
reliability : {
required : 'Please rate reliability of the product'
},
overall : {
required : 'Please rate the product'
}
},
// Do not change code below
errorPlacement : function(error, element) {
error.insertAfter(element.parent());
}
});
var $commentForm = $("#comment-form").validate({
errorClass : errorClass,
errorElement : errorElement,
highlight: function(element) {
$(element).parent().removeClass('state-success').addClass("state-error");
$(element).removeClass('valid');
},
unhighlight: function(element) {
$(element).parent().removeClass("state-error").addClass('state-success');
$(element).addClass('valid');
},
// Rules for form validation
rules : {
name : {
required : true
},
email : {
required : true,
email : true
},
url : {
url : true
},
comment : {
required : true
}
},
// Messages for form validation
messages : {
name : {
required : 'Enter your name',
},
email : {
required : 'Enter your email address',
email : 'Enter a VALID email'
},
url : {
email : 'Enter a VALID url'
},
comment : {
required : 'Please enter your comment'
}
},
// Ajax form submition
submitHandler : function(form) {
$(form).ajaxSubmit({
success : function() {
$("#comment-form").addClass('submited');
}
});
},
// Do not change code below
errorPlacement : function(error, element) {
error.insertAfter(element.parent());
}
});
var $contactForm = $("#contact-form").validate({
errorClass : errorClass,
errorElement : errorElement,
highlight: function(element) {
$(element).parent().removeClass('state-success').addClass("state-error");
$(element).removeClass('valid');
},
unhighlight: function(element) {
$(element).parent().removeClass("state-error").addClass('state-success');
$(element).addClass('valid');
},
// Rules for form validation
rules : {
name : {
required : true
},
email : {
required : true,
email : true
},
message : {
required : true,
minlength : 10
}
},
// Messages for form validation
messages : {
name : {
required : 'Please enter your name',
},
email : {
required : 'Please enter your email address',
email : 'Please enter a VALID email address'
},
message : {
required : 'Please enter your message'
}
},
// Ajax form submition
submitHandler : function(form) {
$(form).ajaxSubmit({
success : function() {
$("#contact-form").addClass('submited');
}
});
},
// Do not change code below
errorPlacement : function(error, element) {
error.insertAfter(element.parent());
}
});
var $loginForm = $("#login-form").validate({
errorClass : errorClass,
errorElement : errorElement,
highlight: function(element) {
$(element).parent().removeClass('state-success').addClass("state-error");
$(element).removeClass('valid');
},
unhighlight: function(element) {
$(element).parent().removeClass("state-error").addClass('state-success');
$(element).addClass('valid');
},
// Rules for form validation
rules : {
email : {
required : true,
email : true
},
password : {
required : true,
minlength : 3,
maxlength : 20
}
},
// Messages for form validation
messages : {
email : {
required : 'Please enter your email address',
email : 'Please enter a VALID email address'
},
password : {
required : 'Please enter your password'
}
},
// Do not change code below
errorPlacement : function(error, element) {
error.insertAfter(element.parent());
}
});
var $orderForm = $("#order-form").validate({
errorClass : errorClass,
errorElement : errorElement,
highlight: function(element) {
$(element).parent().removeClass('state-success').addClass("state-error");
$(element).removeClass('valid');
},
unhighlight: function(element) {
$(element).parent().removeClass("state-error").addClass('state-success');
$(element).addClass('valid');
},
// Rules for form validation
rules : {
name : {
required : true
},
email : {
required : true,
email : true
},
phone : {
required : true
},
interested : {
required : true
},
budget : {
required : true
}
},
// Messages for form validation
messages : {
name : {
required : 'Please enter your name'
},
email : {
required : 'Please enter your email address',
email : 'Please enter a VALID email address'
},
phone : {
required : 'Please enter your phone number'
},
interested : {
required : 'Please select interested service'
},
budget : {
required : 'Please select your budget'
}
},
// Do not change code below
errorPlacement : function(error, element) {
error.insertAfter(element.parent());
}
});
// START AND FINISH DATE
$('#startdate').datepicker({
dateFormat : 'dd.mm.yy',
prevText : '<i class="fa fa-chevron-left"></i>',
nextText : '<i class="fa fa-chevron-right"></i>',
onSelect : function(selectedDate) {
$('#finishdate').datepicker('option', 'minDate', selectedDate);
}
});
$('#finishdate').datepicker({
dateFormat : 'dd.mm.yy',
prevText : '<i class="fa fa-chevron-left"></i>',
nextText : '<i class="fa fa-chevron-right"></i>',
onSelect : function(selectedDate) {
$('#startdate').datepicker('option', 'maxDate', selectedDate);
}
});
})
</script>
<?php
//include footer
include("inc/google-analytics.php");
?>