Example #1
0
										
										<script>
										// Select the current permission
										$('select[name=permission]').val("<?php 
        echo $u['permission'];
        ?>
");
										</script>
									</div>
								</div>
							</div>
							
							<div class='row'>
								<?php 
        // Get the extra inputs filled in with the data from the current user
        getExtraInputs(true, $u['id']);
        ?>
							</div>
						</div>
					</div>
					
					<div class='row'>
						<div class='col-md-12'>
							<div class='form-group'>
								<input type='hidden' name='token' value='<?php 
        echo session_id();
        ?>
'>
								<input type='hidden' name='uid' value='<?php 
        echo $u['id'];
        ?>
Example #2
0
				
				<div class='form-group'>
					<label class='col-sm-4 control-label'><?php 
    echo $m['password2'];
    ?>
*</label>
					<div class='col-sm-8'>
						<input type='password' class='form-control' name='password2'>
					</div>
				</div>
				
				<br><br>
				
				<?php 
    // Get the extra inputs, empty
    getExtraInputs();
    ?>
				
				<?php 
    // Check for multiple payment gateways
    if (getSetting("enable_paypal", "text") == "true" && getSetting("enable_stripe", "text") == "true") {
        ?>
				<div class='row row-6'>
					<div class='form-group'>
						<label class='col-sm-4 control-label'><?php 
        echo $m['payment_method'];
        ?>
*</label>
						<div class='col-sm-8'>
							<div class='radio'>
								<label>
Example #3
0
										<input type='email' class='form-control' name='email' value='<?php 
        echo userValue($_SESSION['uid'], "email");
        ?>
'<?php 
        if (getSetting("email_change", "text") == "false") {
            echo " disabled";
        }
        ?>
>
									</div>
								</div>
							</div>
							
							<?php 
        // Get extra inputs, filled in with the data of the current user
        getExtraInputs(true, $_SESSION['uid']);
        ?>
						</div>
					</div>
					
					<div class='row row-5'>
						<div class='col-md-12'>
							<div class='form-group'>
								<input type='hidden' name='token' value='<?php 
        echo session_id();
        ?>
'>
								<input type='submit' name='save' value='<?php 
        echo $m['save'];
        ?>
' class='btn btn-primary'>