Example #1
0
            <div class="controls">
               <textarea name="meta_description"><?php 
echo set_value('meta_description');
?>
</textarea>
            </div>
          </div>
          <div class="control-group">
            <label for="inputError" class="control-label">Set schedule</label>
            <div class="controls">
              <div class="radio_div"><input onclick="show_published_date();"  name="set_schedule" type="radio" <?php 
echo custom_set_radio('set_schedule', 'YES');
?>
 value="YES" />&nbsp;<span>Yes</span></div>
              <div class="radio_div"><input onclick="show_published_date();" name="set_schedule" type="radio" <?php 
echo custom_set_radio('set_schedule', 'NO', true);
?>
 value="NO" />&nbsp;<span>NO
</span> </div>             <!--<span class="help-inline">Woohoo!</span>-->
            </div>
          </div>
          <div style="display:none;" id="published_date_div" class="control-group">
            <label for="inputError" class="control-label">Published date</label>
            <div class="controls">
              <input  id="published_date" type="text" name="published_date" />
            </div>
          </div>
          <div class="control-group">
            <label for="inputError" class="control-label">Status</label>
            <div class="controls">
             <select name="status">
                    </div>
                </div>
            </div>
            <?php 
if (!empty($city_featured_price)) {
    $featured_price_after_decode = json_decode($city_featured_price);
    ?>
                <div class="control-group bottom_space">
                    <label for="inputError" class="control-label left"><?php 
    echo _clang(WRITE_ADD_FEATURED_ADS);
    ?>
</label>
                    <div class="controls left_r">
                        <input type="checkbox" value="yes" <?php 
    echo custom_set_radio('featured_ad', 'yes');
    ?>
 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) {
 <?php 
echo _clang(A_MONTH_2);
?>
</p>
                        <p class="twoy"><input onclick="display_tabs('years_1');" type="radio" name="payment" value="pre1_year_1" class="pre_month">$ <?php 
echo $pre1_year_1['month'];
?>
 <?php 
echo _clang(A_MONTH_1);
?>
</p>
                    </div>
                    <div style="margin-top:2px;" class="pre_true">

                        <div class="twoy"><input type="radio" onclick="display_tabs('years_4');" value="pre2_year_4" name="payment" <?php 
echo custom_set_radio('payment', 'pre2_year_4');
?>
 class="pre_month">$ <?php 
echo $pre2_year_4['month'];
?>
 <?php 
echo _clang(A_PRE2_MONTH_4);
?>
</div>
                        <!--<div class="pre_bg">Save up to 33% per Year</div> -->
                        <p class="twoy"><input onclick="display_tabs('years_2');" type="radio" name="payment" value="pre2_year_2" class="pre_month">$ <?php 
echo $pre2_year_2['month'];
?>
 <?php 
echo _clang(A_PRE2_MONTH_2);
?>
?>
 <?php 
echo $this->session->userdata('currency_type');
?>
 0.99)</span></h2>
                </div>
            </div>
            <div class="control-group bottom_space">
                <label for="inputError" class="control-label left_a"><?php 
echo _clang(WRITE_ADD_AUTO_REPOST);
?>
</label>
                <div class="controls left_b">
                    <div>
                        <input type="checkbox" <?php 
echo custom_set_radio('auto_repost_ad', 'yes');
?>
  name="auto_repost_ad" value="yes" />
                        <span style="margin:0 5px 0 5px;"><?php 
echo _clang(MOVE_AD_TOP);
?>
 </span>
                        <div style="display: inline-block"><select name="auto_repost_day" id="day" style="width: 90px;">
                                <?php 
echo '<option value="">Select</option>';
for ($i = 1; $i <= 30; $i++) {
    if ($i == '1') {
        $days = 'day';
    } else {
        $days = 'days';
    }
Example #5
0
}
?>
 />&nbsp;<span>NO
</span> </div>             <!--<span class="help-inline">Woohoo!</span>-->
            </div>
          </div>
         <div class="control-group">
            <label for="inputError" class="control-label">Adult Content tag</label>
            <div class="controls">
              <div class="radio_div"><input  name="adult_content" type="radio" <?php 
echo custom_set_radio('adult_content', 'YES');
/*if(!empty($_POST["adult_content"])){ if($_POST["blacklist_flag"]=="YES"){ echo "checked='checked'"; } }*/
?>
 value="YES" />&nbsp;<span>Yes</span></div>
              <div class="radio_div"><input name="adult_content" type="radio" <?php 
echo custom_set_radio('adult_content', 'NO');
/*if(!empty($_POST["adult_content"])){ if($_POST["blacklist_flag"]=="NO"){ echo "checked='checked'"; } }*/
?>
 value="NO" />&nbsp;<span>NO
</span> </div>             <!--<span class="help-inline">Woohoo!</span>-->
            </div>
          </div>
          <div class="control-group">
            <label for="inputError" class="control-label">Language</label>
            <div class="controls">
            	<?php 
/*?><input type="text" name="language_id" value="<?php echo custom_set_value('language_id');?>" /><?php */
?>
                <select name="language_id">
              	<option  value="">-Select Language-</option>
               <?php 
Example #6
0
              <div class="radio_div"><input  name="adult_content" type="radio" <?php 
echo custom_set_radio('adult_content', 'NO', TRUE);
?>
 value="NO" />&nbsp;<span>NO
</span> </div>
            </div>
          </div>
          <div class="control-group">
            <label for="inputError" class="control-label">Privacy Settings</label>
            <div class="controls">
              <div class="radio_div"><input  name="privacy_settings" type="radio" <?php 
echo custom_set_radio('privacy_settings', 'YES');
?>
 value="YES" />&nbsp;<span>Yes</span></div>
              <div class="radio_div"><input  name="privacy_settings" type="radio" <?php 
echo custom_set_radio('privacy_settings', 'NO', TRUE);
?>
 value="NO" />&nbsp;<span>NO
</span> </div>             <!--<span class="help-inline">Woohoo!</span>-->
            </div>
          </div>
          
          
          
          <div class="control-group">
            <label for="inputError" style="text-decoration: underline;font-weight: bold;
" class="control-label">Invoice Details:</label>
            <div class="controls">
              <!--<span class="help-inline">Woohoo!</span>-->
            </div>
          </div>
Example #7
0
            </div>
        </div>
        <div class="control-group">
            <label for="inputError" class="control-label">Description</label>
            <div class="controls">
                <textarea class=" ckeditor"  name="description"><?php 
echo set_value('description');
?>
</textarea>
            </div>
        </div>
        <div class="control-group">
            <label for="inputError" class="control-label">Featured Campaign</label>
            <div class="controls">
                <input  name="featured_campaign" type="checkbox" <?php 
echo custom_set_radio('featured_campaign', '1');
?>
 value="1" />
            </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');
?>
Example #8
0
$attributes = array('class' => 'form-horizontal', 'id' => '');
//form validation
echo validation_errors();
echo form_open_multipart('kd2a2a0u1g4/remove-unsubscribe/add', $attributes);
//echo '<pre>'; print_r($category);
?>
        <fieldset>
		  <div class="control-group">
            <label for="inputError" class="control-label">Remove Unsubscribe<span class="star">*</span></label>
            <div class="controls">
              <div class="radio_div"><input <?php 
echo custom_set_radio('remove_unsubscribe', 'text', true);
?>
  type="radio" onclick="unsubscribe_open(this.id)" id="unsubscribe_text" value="text" name="remove_unsubscribe">&nbsp;<span>Unsubscribe Text</span></div>
              <div class="radio_div"><input <?php 
echo custom_set_radio('remove_unsubscribe', 'url');
?>
  type="radio" id="unsubscribe_url" onclick="unsubscribe_open(this.id)" value="url" name="remove_unsubscribe">&nbsp;<span>Unsubscribe Url
</span> </div>             <!--<span class="help-inline">Woohoo!</span>-->
            </div>
          </div>      
          <div class="control-group unsubscribe_text unsub">
            <label for="inputError" class="control-label">Unsubscribe Text<span class="star">*</span></label>
            <div class="controls">
              <textarea class="" name="unsubscribe_text"><?php 
echo set_value('unsubscribe_text');
?>
</textarea>
              <!--<span class="help-inline">Woohoo!</span>-->
            </div>
          </div>