3 if ($_POST['complexeditor'] == '1') {
6 load_editor($simple, false, "none");
8 <div class="input-form">
9 <form name="form" action="" method="post">
11 <label for="jb_title"><?php echo _AT('jb_title'); ?></label>
12 <input type="text" id="jb_title" name="title" />
15 <label><?php echo _AT('categories'); ?></label><br/>
16 <?php if(!empty($this->categories)): ?>
17 <?php foreach($this->categories as $category): ?>
18 <div class="category_box">
19 <input type="checkbox" id="jb_category_<?php echo $category['id'];?>" name="jb_categories[]" value="<?php echo $category['id']; ?>" />
20 <label for="jb_category_<?php echo $category['id'];?>"><?php echo htmlentities_utf8($category['name']); ?></label>
22 <?php endforeach; endif; ?>
23 <div style="clear:both;"></div>
26 <label for="jb_is_public"><?php echo _AT('jb_is_public'); ?></label>
27 <input type="checkbox" id="jb_is_public" name="jb_is_public" ></textarea>
30 <label for="jb_closing_date"><?php echo _AT('jb_closing_date'); ?></label>
32 //load mysql timestamp template into the template.
33 $next_day = time() + 60*60*24;
34 $today_day = date('d', $next_day);
35 $today_mon = date('m', $next_day);
36 $today_year = date('Y', $next_day);
38 $today_hour = date('H', $next_day);
39 $today_min = date('i', $next_day);
41 //load the release_date template.
42 $name = '_jb_closing_date';
43 require(AT_INCLUDE_PATH.'html/release_date.inc.php');
48 <label for="formatting_radios"><span class="required" title="<?php echo _AT('required_field'); ?>">*</span><?php echo _AT('formatting'); ?></label>
49 <span id="formatting_radios">
50 <input type="radio" name="formatting" value="0" id="text" <?php if ($_POST['formatting'] == 0) { echo 'checked="checked"'; } ?> />
51 <label for="text"><?php echo _AT('plain_text'); ?></label>
53 <input type="radio" name="formatting" value="1" id="html" <?php if ($_POST['formatting'] == 1) { echo 'checked="checked"'; } ?> />
54 <label for="html"><?php echo _AT('html'); ?></label>
59 <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="jb_description"><?php echo _AT('jb_post_description'); ?></label><br />
60 <small>· <?php echo _AT('jb_post_description_note'); ?></small><br />
61 <textarea name="jb_description" cols="55" rows="15" id="jb_description"><?php echo $_POST['jb_description']; ?><?php echo $this->job_post['description']; ?></textarea>
64 <input class="button" type="submit" name="submit" value="<?php echo _AT('submit'); ?>"/>