Пример #1
0
								<label>Butikens adress</label>
								<br />
								<input name="product_buy_link2" type="text" class="text small"  value="<?php 
echo $edit_data['buy_link_type'] == '2' ? $edit_data['product_buy_link'] : '';
?>
" />
								<span class="note error"></span>
								<br />
							</p>
                                                        <p id="citydiv">
								<label>Stad:</label>
								<br />
								<select class="styled required" name="city_id" id="city_id">
                                                                    <option value="" >Välj stad</option>
									<?php 
echo create_ddl($cities, 'city_id', 'city_name', $edit_data['city_id']);
?>
								</select>
								<span class="note error"></span>
                                                        </p>
							<p class="fileupload">
								<label>Bild:</label>
								<br />
								<img id="proimage" src="<?php 
echo other_asset_url($edit_data['product_image'] . '_s.' . $edit_data['product_ext'], '', 'uploads/images/products');
?>
" />
								<br />
								<input type="file" id="fileupload" />
								<span id="uploadmsg"></span>
								<input type="hidden" name="product_image" id="product_image" value="<?php 
Пример #2
0
											<td height="20" width="165">&nbsp;</td>
										</tr>
										<tr>
											<td height="20" width="165"><span style="font-weight: 700"> <font style="font-size: 10px" face="Tahoma"> Post nummer</font></span></td>
											<td height="20" width="20">&nbsp;</td>
											<td height="20" width="165"><span style="font-weight: 700"> <font style="font-size: 10px" face="Tahoma"> Stad</font></span></td>
										</tr>
										<tr>
											<td height="25" width="165">
											<input style="border: 1px solid #000000;font-family:Tahoma;width:165px;height:25px;" type="text" id="zipCode" class="validate[required] text small" name="zipCode">
											</td>
											<td height="25" width="20">&nbsp;</td>
											<td height="25" width="165">
											<select class="styled" name="city_id" id="city_id">
												<?php 
echo create_ddl($cities, 'city_id', 'city_name');
?>
											</select>
											</td>
										</tr>
										<tr>
											<td height="20" width="165">&nbsp;</td>
											<td height="20" width="20">&nbsp;</td>
											<td height="20" width="165">&nbsp;</td>
										</tr>
										<tr>
											<td height="20" width="165"><span style="font-weight: 700"> <font style="font-size: 10px" face="Tahoma"> LÖSENORD</font></span></td>
											<td height="20" width="20">&nbsp;</td>
											<td height="20" width="165"><span style="font-weight: 700"> <font style="font-size: 10px" face="Tahoma"> BEKRÄFTA LÖSENORD</font></span></td>
										</tr>
										<tr>
Пример #3
0
											<td height="20" width="165"><span style="font-weight: 700"> <font style="font-size: 10px" face="Tahoma"> Postnummer</font></span></td>
											<td height="20" width="20">&nbsp;</td>
											<td height="20" width="165"><span style="font-weight: 700"> <font style="font-size: 10px" face="Tahoma"> Stad   </font></span></td>
										</tr>
										<tr>
											<td height="25" width="165">
											<input style="border: 1px solid #000000;font-family:Tahoma;width:165px;height:25px;" type="text" id="zipCode" class="validate[required] text small" name="zipCode" value="<?php 
echo $user['zipCode'];
?>
">
											</td>
											<td height="25" width="20">&nbsp;</td>
											<td height="25" width="165">
											<select class="styled" name="city_id" id="city_id">
												<?php 
echo create_ddl($cities, 'city_id', 'city_name', $user['city_id']);
?>
											</select>
											</td>
										</tr>
										<tr>
											<td height="20" width="165">&nbsp;</td>
											<td height="20" width="20">&nbsp;</td>
											<td height="20" width="165">&nbsp;</td>
										</tr>
										<tr>
											<td height="20" width="165"><span style="font-weight: 700"> <font style="font-size: 10px" face="Tahoma"> PASSWORD</font></span></td>
											<td height="20" width="20">&nbsp;</td>
											<td height="20" width="165"><span style="font-weight: 700"> <font style="font-size: 10px" face="Tahoma"> CONFIRM PASSWORD</font></span></td>
										</tr>
										<tr>
Пример #4
0
    <h3>Seach By Location and Retailer</h3>
    <div>
        <p>
        <form method="post" id="city_form" name="city_form" action="">
         <br />			
            <select class="styled" name="city_id_t" id="city_id_t">
            	 <option value="0">ALL Locations</option>
                <?php 
echo create_ddl($cities, 'city_id', 'city_name');
?>
					
            </select> 
            <select class="styled" name="retailer_id_t" id="retailer_id_t">
                <option value="0">ALL</option> 
                <?php 
echo create_ddl($retailers, 'id', 'username');
?>
					
            </select>            				
            <span class="note error"></span> </p> 	     
            <input type="submit" value="Search" id="search" class="submit small" name="search">
        </form>
        </p>
        
    </div>
     <h3>Subscribe to NewsLetter</h3>
    <div>
        <p>
        <form method="post" id="newsletter_form" name="newsletter_form" action="">
         <br />			
            <input name="email" type="text" class="required text small" id="email" />			            
Пример #5
0
 public function child_category()
 {
     $parent_category = $_POST['parent_id'];
     $child_categgories = $this->categories_model->get_child_categories($parent_category);
     if ($child_categgories) {
         $options = create_ddl($child_categgories, 'cat_id', 'cat_name', 'cat_id');
         $testing = '';
         $testing .= $options;
         echo $testing;
     } else {
         echo '<option value = 0 selected>NULL</option>';
     }
 }
Пример #6
0
    public function change_cat()
    {
        $cat_id = $this->input->post('cat_id', TRUE);
        $categories = $this->categories_model->get_child_categories($cat_id);
        if ($categories) {
            echo '<select class="catstyled" name="cat_id" id="cat_id">
					' . create_ddl($categories, 'cat_id', 'cat_name') . '
				</select>';
        }
    }