Example #1
0
?>
					<?php 
echo my_form_error('whmcs-user', '<span class="help-block">', '</span>');
?>
				</div>
				
				<div class="form-group<?php 
echo my_form_error('whmcs-api-url') != FALSE ? ' has-error' : '';
?>
">
					<label for="whmcs-password">Password:</label>
					<?php 
echo form_password('whmcs-password', $settings['WHMCS_PASSWORD'], 'class="form-control"');
?>
					<?php 
echo my_form_error('whmcs-password', '<span class="help-block">', '</span>');
?>
				</div>
				
				<?php 
echo form_submit('submit', 'Save Settings', 'class="btn btn-primary"');
?>
        </div>
	<?php 
echo form_close();
?>

			<script type="text/javascript">
					$('#billing-module').change(function() {
							if ($('#billing-module option:selected').text() == "Blesta") {
									$('#blesta-settings').slideDown(800);
" ><?php 
echo my_form_error('email');
?>

				<label for="phone">Phone</label>
				<input type="text" placeholder="enter your phone no..." name="phone" id="phone" value="<?php 
echo set_value('phone');
?>
" maxlength="12"><?php 
echo my_form_error('phone');
?>

				<label for="subdomain"><span class="red">* </span>Comment</label>
				<textarea name="comment" id="comment" placeholder="enter your comment..." class="validate[required] form-control" ><?php 
echo set_value('comment');
?>
</textarea><?php 
echo my_form_error('subdomain');
?>
				<button type="submit" class="btn btn-primary btn-lg"  id="btnCompUser" name="btnCompUser" title="Submit complain">SUBMIT</button>
			</form>
		</div>
	</div>
</div>

<script type="text/javascript">
$(document).ready(function() {
	$("#frmComplaint").validationEngine();
});
</script>
Example #3
0
                                                                </label>
                                                        </div>';
    }
    ?>

                                <div class="form-group<?php 
    echo my_form_error('confirmation') != FALSE ? ' has-error' : '';
    ?>
">
                                        <label for="confirmation" class="col-md-3 control-label">Confirmation:</label>
                                        <div class="col-md-7">
                                                <?php 
    echo form_input('confirmation', set_value('confirmation'), 'class="form-control"');
    ?>
                                                <?php 
    echo my_form_error('confirmation', '<span class="help-block">', '</span>');
    ?>
                                        </div>
                                </div>
                                
                                <?php 
    echo form_submit('destroy', 'Destroy', 'class="btn btn-primary"');
    ?>
                                <?php 
    echo form_submit('cancel', 'Cancel', 'class="btn btn-default"');
    ?>
                                <?php 
    echo form_close();
    ?>
                        </div>
                </div>
Example #4
0
                        <div class="form-group<?php 
echo my_form_error('disk-warning') != FALSE || my_form_error('disk-critical') != FALSE ? ' has-error' : '';
?>
">
                                <label for="" class="col-md-3 control-label">Disk Usage</label>
                                <div class="col-md-3">
                                        <div class="input-group"><?php 
echo form_input('disk-warning', $plan->disk_warning, 'class="form-control"');
?>
<span class="input-group-addon">%</span></div>
                                        <?php 
echo my_form_error('disk-warning', '<span class="help-block">', '</span>');
?>
                                </div>
                                <div class="col-md-3">
                                        <div class="input-group"><?php 
echo form_input('disk-critical', $plan->disk_critical, 'class="form-control"');
?>
<span class="input-group-addon">%</span></div>
                                        <?php 
echo my_form_error('disk-critical', '<span class="help-block">', '</span>');
?>
                                </div>
                                <div class="clearfix"></div>
                        </div>
						
						<input class="btn btn-primary center-block" type="submit" name="submit" value="Add Plan" />
						
                </div>
        </div>
</div>
Example #5
0
?>
                </div>
            </div>

                <div class="form-group<?php 
echo my_form_error('vol_group') != FALSE ? ' has-error' : '';
?>
">
                    <label for="volumegroup" class="col-md-3 control-label">Volume Group:</label>
                    <div class="col-md-8">
                        <?php 
echo form_input('vol_group', set_value('vol_group'), 'class="form-control"');
?>
                        <p class="alert alert-info" style="margin-top:10px;">Typical value is "vps".  If you do not know the value, then do not enter one here.  The install script will guide you to the correct value.</p>
                        <?php 
echo my_form_error('vol_group', '<span class="alert alert-danger">', '</span>');
?>
                    </div>
                </div>

            <div class="form-group">
                <label class="col-md-3 control-label" for="hypervisor">Hypervisor:</label>
                <div class="col-md-8">
                    <?php 
echo form_dropdown('hypervisor', $hypervisors, set_value('hypervisor'), 'class="form-control"');
?>
                </div>
            </div>

            <div class="form-group">
                <label class="col-md-3 control-label" for="distro">Operating System:</label>
?>
				
				<label for="lastname"><span class="red">* </span>Last Name</label>
				<input type="text" placeholder="enter your first name..." name="lname" class="validate[required]" id="lname" value="<?php 
echo $user->u_lname;
?>
" ><?php 
echo my_form_error('lname');
?>
				
				<label for="phone">Phone</label>
				<input type="text" placeholder="enter your phone no..." name="phone" id="phone" value="<?php 
echo $user->u_phone;
?>
" maxlength="12"><?php 
echo my_form_error('phone');
?>
					
				<label class="col-md-12" for="email">Email</label>				
				<label class="col-md-12" style="color:#000000;"><b><?php 
echo $user->u_email;
?>
</b></label>

				<button type="submit" class="btn btn-primary btn-lg"  id="btnRegUser" name="btnRegUser" title="Register">UPDATE</button>
			</form>
		</div>
	</div>
</div>

<script type="text/javascript">
Example #7
0
													</select>
													<?php 
    echo my_form_error('plan', '<span class="help-block">', '</span>');
    ?>
											</div>

											<div class="form-group<?php 
    echo my_form_error('quantity') != FALSE ? ' has-error' : '';
    ?>
" style="margin: 15px;">
													<label for="quantity">Qty:</label>
													<?php 
    echo form_input('quantity', '', 'class="form-control" style="width: 50px;"');
    ?>
													<?php 
    echo my_form_error('quantity', '<span class="help-block">', '</span>');
    ?>
											</div>
											
											<input type="submit" name="submit" class="btn btn-default" value="Add Stock" />
									<?php 
    echo form_close();
    ?>
								</td>
							</tr>
						</tbody>
					</table>
				</div>
			</div>
        <?php 
}
Example #8
0
echo form_input('lastname', set_value('lastname'), 'class="form-control"');
?>
                                        <?php 
echo my_form_error('lastname', '<span class="help-block">', '</span>');
?>
                                </div>
                        </div>

                        <div class="form-group">
                            <label for="theme" class="col-md-3 control-label">Group:</label>
                            <div class="col-md-8">
                                <?php 
echo form_dropdown('cgroup_id', $this->ion_auth->cgroups(), '1', 'class="selectpicker"');
?>
                                <?php 
echo my_form_error('cgroup_id', '<span class="help-block">', '</span>');
?>
                            </div>
                        </div>
                        
                        <div class="form-group">
                                <label for="permissions" class="col-md-3 control-label">Permissions:</label>
                                <div class="col-md-9">
                                        <div class="col-md-6">
                                                <?php 
$count = count($this->ion_auth->groups()->result());
$i = 0;
foreach ($this->ion_auth->groups()->result() as $group) {
    echo '<div class="checkbox"><label>' . form_checkbox('groups[]', $group->id, FALSE) . ' ' . $group->description . '</label></div><br />';
    $i++;
    if ($i == ceil($count / 2)) {
Example #9
0
echo my_form_error('node', '<span class="help-block">', '</span>');
?>
						</div>
				</div>
				
				<div class="form-group<?php 
echo my_form_error('plan') != FALSE ? ' has-error' : '';
?>
">
						<label for="plan" class="col-md-3 control-label">Plan:</label>
						<div class="col-md-8">
								<?php 
echo form_dropdown('plan', $plans, set_value('plan'), 'id="plan" class="form-control"');
?>
								<?php 
echo my_form_error('plan', '<span class="help-block">', '</span>');
?>
						</div>
				</div>
				
				<div id="ipselection"></div>
				
				<div class="form-group">
						<label for="" class="col-md-3 control-label"> </label>
						<div class="col-md-8">
								<?php 
echo form_submit('submit', 'Add VPS', 'class="btn btn-primary"');
?>
						</div>
				</div>
				
Example #10
0
echo my_form_error('snapshot-password', '<span class="help-block">', '</span>');
?>
					</div>
			</div>
			
			<div class="form-group<?php 
echo my_form_error('snapshot-directory') != FALSE ? ' has-error' : '';
?>
">
					<label for="snapshot-directory" class="col-md-3 control-label">Directory:</label>
					<div class="col-md-7">
							<?php 
echo form_input('snapshot-directory', $settings['SNAPSHOT_DIRECTORY'], 'class="form-control"');
?>
							<?php 
echo my_form_error('snapshot-directory', '<span class="help-block">', '</span>');
?>
							<p class="help-block">This should be the full, absolute path to the directory you want to store stashed snapshots in.  The directory must already exist on the server.</p>
					</div>
			</div>
			
			<div class="form-group">
					<label for="" class="col-md-3 control-label"> </label>
					<div class="col-md-7">
							<?php 
echo form_submit('submit', 'Save Settings', 'class="btn btn-primary"');
?>
					</div>
			</div>
			
			
Example #11
0
							<a href="#" data-toggle="modal" data-target="#snapshot-modal" class="btn btn-success">Create Snapshot</a>
							<div id="snapshot-modal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="" aria-hidden="true">
								<div class="modal-dialog">
									<div class="modal-content">
										<?php 
    echo form_open('server/snapshots/' . $container->ctid . '/create', 'class="form-horizontal"');
    ?>
										
										<div class="modal-header">
											<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
											<h4 class="modal-title">Create Snapshot</h4>
										</div>
										
										<div class="modal-body">
											<div class="form-group<?php 
    echo my_form_error('name') != FALSE ? ' has-error' : '';
    ?>
">
													<label for="name" class="col-md-3 control-label">Name:</label>
													<div class="col-md-7">
															<?php 
    echo form_input('snapshot-name', set_value('snapshot-name'), 'class="form-control"');
    ?>
													</div>
											</div>
										</div>
										
										<div class="modal-footer">
											<input type="submit" class="btn btn-primary" name="submit" value="Create Snapshot" />
											<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
										</div>
Example #12
0
				<?php 
$options = array("optional" => "Optional", "required" => "Required");
?>
				<?php 
echo form_dropdown('IPBLOCK_V6', $options, $settings['IPBLOCK_V6'], 'class="form-control"');
?>
				<?php 
echo my_form_error('IPBLOCK_V6', '<span class="help-block">', '</span>');
?>
				
			</div>
		</div>
		
		
		<div class="form-group<?php 
echo my_form_error('CREINSTALL_MAX') != FALSE ? ' has-error' : '';
?>
">
			<label for="reinstall_limit" class="col-md-3 control-label">Reinstall Limit</label>
			<div class="col-md-7">
				<?php 
echo form_input('CREINSTALL_MAX', $settings['CREINSTALL_MAX'], 'class="form-control"');
?>
				<p class="help-block">The number of times a VM can be reinstalled in a month for customers. (0 means unlimited)</p>
			</div>
		</div>

		<div class="form-group">
			<label for="" class="col-md-3 control-label"> </label>
			<div class="col-md-7">
				<?php 
Example #13
0
echo my_form_error('password', '<span class="help-block">', '</span>');
?>
                                </div>
                        </div>
                        
                        <div class="form-group<?php 
echo my_form_error('password2') != FALSE ? ' has-error' : '';
?>
">
                                <label for="password2" class="col-md-3 control-label">Password (again):</label>
                                <div class="col-md-8">
                                        <?php 
echo form_password('password2', '', 'class="form-control"');
?>
                                        <?php 
echo my_form_error('password2', '<span class="help-block">', '</span>');
?>
                                </div>
                        </div>
                
                        <div class="form-group">
                                <label class="col-md-3 control-label"> </label>
                                <div class="col-md-8">
                                        <input class="btn btn-primary" type="submit" name="submit" value="Edit User" />
                                </div>
                        </div>
                        
                        <?php 
echo form_close();
?>
                </div>
Example #14
0
echo form_input('description', set_value('description'), 'class="form-control"');
?>
						<?php 
echo my_form_error('description', '<span class="help-block">', '</span>');
?>
				</div>
		</div>
		
		<div class="form-group">
				<label for="permissions" class="col-md-3 control-label">Theme:</label>
				<div class="col-md-8">
							<?php 
echo form_dropdown('theme', $this->ion_auth->themes(), 'bootstrap', 'class="form-control"');
?>
							<?php 
echo my_form_error('theme', '<span class="help-block">', '</span>');
?>
				</div>
		</div>
		
		
		<div class="form-group">
				<label class="col-md-3 control-label"> </label>
				<div class="col-md-8  text-right">
						<input class="btn btn-primary" type="submit" name="submit" value="Create" />
				</div>
		</div>
		
		<?php 
echo form_close();
?>
Example #15
0
?>
                                </div>
                        </div>

                        <div class="form-group<?php 
echo my_form_error('max-disk') != FALSE ? ' has-error' : '';
?>
">
                                <label for="max-disk" class="col-md-3 control-label">Max. Disk (GB):</label>
                                <div class="col-md-8">
                                        <?php 
echo form_input('max-disk', $node->max_disk_allocated, 'class="form-control"');
?>
                                        <p class="help-block">This value is ignored if you have enabled Stock-Based Node Management in <a href="/settings/general">General Settings</a> section.</p>
                                        <?php 
echo my_form_error('max-disk', '<span class="help-block">', '</span>');
?>
                                </div>
                        </div>

                        <div class="form-group">
                                <label class="col-md-3 control-label"> </label>
                                <div class="col-md-8">
                                        <input class="btn btn-default" type="submit" name="submit" value="Update Settings" />
                                </div>
                        </div>
                        <?php 
echo form_close();
?>
                </div>
        </div>
Example #16
0
    ?>
                                        </div>
                                </div>
                                
                                <div class="form-group<?php 
    echo my_form_error('transfer') != FALSE ? ' has-error' : '';
    ?>
">
                                        <label for="transfer" class="col-md-3 control-label" >Network Transfer (GB):</label>
                                        <div class="col-md-8">
                                                <?php 
    $options = array('name' => 'transfer', 'class' => 'form-control');
    echo form_input($options, set_value('transfer', $container->bandwidth_allowed));
    ?>
                                                <?php 
    echo my_form_error('transfer', '<span class="help-block">', '</span>');
    ?>
                                        </div>
                                </div>
                                
                                <div class="form-group">\
                                        <div class="col-md-3 control-label"> </div>
                                        <div class="col-md-8">
                                                <input class="btn btn-primary" type="submit" value="Edit Server" />
                                        </div>
                                </div>

                                <?php 
    echo form_close();
    ?>