Esempio n. 1
0
<?php

echo g_form('admin/applicantmanagement/inviteuser', 'post', array('id' => 'invite', 'class' => 'clearfix'));
?>

  <input type="hidden" name="id" id="id" value="<?php 
echo isset($user) ? $user->id : "";
?>
" />

  <?php 
if (isset($user)) {
    ?>
  <ul id="tabs" class="clearfix">
    <li class="current"><?php 
    echo anchor("/admin/usermanagement/user/" . $user->id, "Edit");
    ?>
</li>
    <li><?php 
    echo anchor("/admin/usermanagement/usercheckins/" . $user->id, "Check-Ins");
    ?>
</li>
    <li><?php 
    echo anchor("/admin/usermanagement/usercharges/" . $user->id, "Charges and Credits");
    ?>
</li>
  </ul>
  <?php 
}
?>
  
    ?>
" target="_blank"><?php 
    echo $room->space_name;
    ?>
</a></li>
        <?php 
}
?>
      </ul>
    </section>
    
    
    <section id="access-pricing">
      <h3>Access Pricing</h3>
		<?php 
echo g_form('admin/locationmanagement/updateaccesspricing');
?>
        <div class="fieldgroup">
          <ul>
            <li>
              <div class="label"><?php 
echo form_label("Daily rate", "daily_rate");
?>
</div>
              <div class="field"><?php 
echo form_input(array("type" => "number", "step" => ".05", "min" => "0.00", "id" => "daily_rate", "name" => "daily_rate", "value" => isset($accesspricing) ? $accesspricing->daily_rate : "0"));
?>
</div>
            </li>
            <li>
                <?php 
Esempio n. 3
0
<?php

echo g_form('admin/usermanagement/updateprofile', 'post', array('id' => 'register', 'class' => 'clearfix'));
?>
  <input type="hidden" name="id" id="id" value="<?php 
echo isset($user) ? $user->id : "";
?>
" />
  
  <fieldset>
    <h3>Membership Info</h3>
    <ul>
      <li>
        <label for="first_name">First Name</label>
        <input type="text" id="first_name" class="required" name="first_name" value="" />
      </li>
      <li>
        <label for="last_name">Last Name</label>
        <input type="text" id="last_name" class="required" name="last_name" value="" />
      </li>
      <li>
        <label for="first_name">Company</label>
        <input type="text" id="company" name="company" value="" />
      </li>
      <li>
        <label for="rfid">RFID</label>
        <input type="text" id="rfid" name="rfid" value="" />
      </li>
      <li>
        <label for="website">Website</label>
        <input type="text" id="website" class="url" name="website" value="" />
		
		<div id="sendHelpSuccess">
				<?php 
$page_id = "279";
// 123 should be replaced with a specific Page's id from your site, which you can find by mousing over the link to edit that Page on the Manage Pages admin page. The id will be embedded in the query string of the URL, e.g. page.php?action=edit&post=123.
$page_data = get_page($page_id);
// You must pass in a variable to the get_page function. If you pass in a value (e.g. get_page ( 123 ); ), WordPress will generate an error.
$content = apply_filters('the_content', $page_data->post_content);
// Get Content and retain Wordpress filters such as paragraph tags. Origin from: http://wordpress.org/support/topic/get_pagepost-and-no-paragraphs-problem
echo $content;
?>
		</div>
		
		<div id="sendHelpFormBlock">
			<?php 
echo g_form("/ci/admin/utility/SendHelpMail/" . $user_ID . "/" . UserIdType::WORDPRESSID, 'post', array('id' => 'sendHelpForm', 'class' => 'grey-fields', 'id' => 'sendHelpForm'));
?>

				<div class="comments">
					<textarea id="message" name="message"></textarea>
				</div>
				<div class="clearfix">
					<div class="col">
						<a id="cancelSendHelpForm">Cancel</a>
					</div>
					<div class="col colright">
						<div class="loader"></div>
						<input type="submit" class="btn" value="Send" id="sendHelpFormSubmit"/>
					</div>
					
				</div>