<div class = "control-group"> <label for = "inputError" class = "control-label">Image</label> <div class = "controls"> <input name = "image" type="file" /> </div> </div> <div class="control-group"> <label for="inputError" class="control-label">Status</label> <div class="controls"> <select name="status"> <option <?php echo custom_set_select('status', 'Active'); ?> value="Active">Active</option> <option <?php echo custom_set_select('status', 'Inactive'); ?> value="Inactive">Inactive</option> </select> </div> </div> <div class="form-actions"> <button class="btn btn-primary" type="submit">Save changes</button> <a class="btn" href="<?php echo site_url('admin'); ?> /our_client">Cancel</a> </div> </fieldset> <?php echo form_close();
name="featured_ad"> <span><?php echo _clang(WRITE_ADD_FEATURED_ADS_TEXT); ?> </span><br /><br /> <span style="margin-left: 2.8% "><?php echo _clang(WRITE_ADD_NUM_WEEKS); ?> </span> <div style="display: inline-block"> <select style="width: 150px;"id="week" name="featured_ad_week_price" onchange="getval(this);"> <?php echo '<option value="">Select</option>'; foreach ($featured_price_after_decode as $key => $value) { foreach ($value as $key => $value1) { echo '<option ' . custom_set_select('featured_ad_week_price', $value1) . ' value="' . $value1 . '">' . $key . ' week (' . $this->session->userdata('currency_type') . $value1 . ')</option>'; } } ?> </select> <div id="featured_ad_week"> </div> </div> </div> </div> <?php } ?> <div class="control-group bottom_space">
</div> <div class="control-group"> <label for="inputError" class="control-label">User interests</label> <div class="controls"> <!-- <input name="keywords" value="<?php echo set_value('keywords'); ?> " type="text" />--> <select multiple="multiple" name="user_interests[]"> <option value="">-Select User interest-</option> <?php for ($k = 0; $k < count($keyword); $k++) { ?> <option <?php echo custom_set_select("user_interests", $keyword[$k]['newsletter_keyword_id']); ?> value="<?php echo $keyword[$k]['newsletter_keyword_id']; ?> "><?php echo $keyword[$k]['en']; ?> </option> <?php } ?> </select> <!--<span class="help-inline">Woohoo!</span>--> </div> </div>
<select id="auto_repost_no_of_time" style="width: 160px;" name="auto_repost_no_of_time" onchange="getTextAutoRepost(this)" > <option value="">select</option> <option <?php echo custom_set_select('auto_repost_no_of_time', '4'); ?> value="4">4 times for £ 1.00 </option> <option <?php echo custom_set_select('auto_repost_no_of_time', '8'); ?> value="8">8 times for £ 2.00 </option> <option <?php echo custom_set_select('auto_repost_no_of_time', '12'); ?> value="12">12 times for £ 3.00 </option> <option <?php echo custom_set_select('auto_repost_no_of_time', '26'); ?> value="26">26 times for £ 6.00 </option> </select> <div id="hidden_price"> </div> </div> </div> <?php /* ?><div class="control-group bottom_space"> <label for="inputError" class="control-label left">Sponsor Ad</label> <div class="controls left_r"> <input type="checkbox" value="Yes" name="sponsor_ad"> <span>Your ad will appear highlighted with thumbnails on the right side of the category.</span><span style="color:#FF0000;">More info</span><br /> <span>Number of weeks:</span>
</div> <div class="control-group"> <label for="inputError" class="control-label">featured AD'S</label> <div class="controls"> <input type="checkbox" value="yes" <?php echo custom_set_radio('featured_ad', 'yes'); ?> name="featured_ad"> <span>Your ad will appear highlighted with thumbnails.</span><br /><br /> <span style="margin-left: 2.8% ">Number of weeks:</span> <div style="display: inline-block"> <select style="width: 150px;"id="week" name="featured_ad_week_price" onchange="getval(this);"> <?php echo '<option value="">Select</option>'; for ($i = 1; $i <= 52; $i++) { echo '<option ' . custom_set_select('featured_ad_week_price', $i * 0.02) . ' value="' . $i * 0.02 . '">' . $i . ' week (£' . $i * 0.02 . ')</option>'; } ?> </select> <div id="featured_ad_week"> </div> </div> </div> </div> <div class="form-actions"> <button class="btn btn-primary" type="submit">Save changes</button> <a class="btn" href="<?php echo site_url('admin'); ?> /posts">Cancel</a>