コード例 #1
0
ファイル: jobform.php プロジェクト: davidliuliuliu/sublite
      </right>
      <div class="form-slider"><label for="deadline">Deadline for Application (mm/dd/yyyy):</label><input class="datepicker" type="text" id="deadline" name="deadline" value="<?php 
vecho('deadline');
?>
" required /></div>
      <div class="form-slider"><label for="desc">Job Description (2500 chars max):</label><textarea id="desc" name="desc" required maxlength="2500"><?php 
vecho('desc');
?>
</textarea></div>
      <div class="form-slider"><label for="requirements">Requirements (2000 chars max):</label><textarea id="requirements" name="requirements" required maxlength="2000"><?php 
vecho('requirements');
?>
</textarea></div>
      <left>
        <input type="checkbox" name="locationtype" id="locationtype" value="home" <?php 
vchecked('locationtype', 'home');
?>
 /><label for="locationtype"> Work at home job</label>
      </left>
      <div class="form-slider" id="locationdiv"><label for="location">Job Location (Address, City, State):</label><input type="text" id="location" name="location" maxlength="500" value="<?php 
vecho('location');
?>
" required /></div>
      <input type="checkbox" name="terms" id="terms" value="agree" required /> <label for="terms">I represent and warrant that I am employed by the company offering the job, that I have authority or permission to post this job, and that the description is accurate and not misleading.</label>
      <?php 
vnotice();
?>
      <right>
        <input type="submit" name="<?php 
vecho('submitname');
?>
コード例 #2
0
ファイル: subletform.php プロジェクト: edwardshe/sublite-1
vpartial('amenities');
?>

      <?php 
vpartial('s3multiple', array('s3name' => 'photos', 's3title' => 'Photos (recommended: >4 photos):', 's3links' => vget('photos')));
?>

      <?php 
if (vget('submitname') == 'edit') {
    ?>
        <div class="form-slider">
          <label for="fill">Publish:</label>
          <input type="hidden" id="fill" value="blah" />
          <left class="checkboxes">
            <input type="checkbox" name="publish" id="publish" value="true" <?php 
    vchecked('publish', 'true');
    ?>
 /> Make this listing public.
          </left>
        </div>
      <?php 
}
?>

      <br />
      <input type="checkbox" name="terms" id="terms" value="agree" required /> <label for="terms">I have read, fully understand, and agree to SubLite&rsquo;s <a href="terms.php">Terms of Service</a>. I represent and warrant that I have permission to list this property, and that the description is accurate and not misleading. I will negotiate the terms of the stay with potential guests in good-faith.</label>

      <br /><br />
      
      <?php 
vnotice();
コード例 #3
0
ファイル: login.php プロジェクト: davidliuliuliu/sublite
<panel>
  <div class="content">
    <?php 
vnotice();
?>

    <form method="post">
      <input type="radio" name="type" id="student" value="student" <?php 
vchecked('type', 'student');
?>
 required />
        <label for="student">student</label>
      <input type="radio" name="type" id="recruiter" value="recruiter" <?php 
vchecked('type', 'recruiter');
?>
 required />
        <label for="recruiter">recruiter</label>

      <div class="form-slider"><label for="email">Email</label><input type="text" id="email" name="email" value="<?php 
View::echof('email');
?>
" required /></div>

      <input type="submit" name="login" value="Login As" />
    </form>
  </div>
</panel>
コード例 #4
0
ファイル: amenities.php プロジェクト: davidliuliuliu/sublite
<div class="form-slider"><label>Amenities:</label></div>
<left class="checkboxes">
  <?php 
$amenities = array("In-Building Gym", "Free Parking", "Reserved Parking (Additional Cost)", "Pool", "Rooftop Access", "Yard", "In-Building Mailboxes", "Laundry Machines", "Wi-Fi", "Cable", "Wheelchair Accessibility", "Sports Fields");
$i = 1;
foreach ($amenities as $a) {
    ?>
      <input type="checkbox" name="amenities[]" id="amenities<?php 
    echo $i;
    ?>
" value="<?php 
    echo $a;
    ?>
" <?php 
    vchecked('amenities', $a);
    ?>
 />
      <label style="display: inline-block;" for="amenities<?php 
    echo $i;
    ?>
"><?php 
    echo $a;
    ?>
</label><br />
  <?php 
    $i++;
}
?>
</left>
コード例 #5
0
$industries = array('Architecture/Design/Urban Planning', 'Agriculture', 'Communications/Marketing/Advertising/PR', 'Computer Science/Technology', 'Consulting', 'Consumer Goods/Retail', 'Education', 'Entertainment/Professional Sports', 'Environment', 'Fashion', 'Financial Services', 'Fine or Performing Arts', 'Healthcare', 'Law/Legal Services', 'Medical/Pharmaceutical', 'Non-Profit', 'Public Policy/Politics', 'Publishing/Media/Journalism', 'Real Estate', 'Research');
?>

<left class="checkboxes">
  <?php 
$i = 1;
foreach ($industries as $industry) {
    ?>
    <input type="checkbox" name="industry[]" id="industry<?php 
    echo $i;
    ?>
" value="<?php 
    echo $industry;
    ?>
" <?php 
    vchecked('industry', $industry);
    ?>
 />
    <label style="display: inline-block" for="industry<?php 
    echo $i;
    ?>
"><?php 
    echo $industry;
    ?>
</label><br />
  <?php 
    $i++;
}
?>
</left>