Пример #1
0
							<input type="hidden" name="a" value="update">                            
							<?php 
    } else {
        ?>
                            <input type="hidden" name="a" value="add"> 
                            <?php 
    }
    ?>
                    	<ul>
                        	<li>
								<label  class="desc">
									Material Name
								</label>
								
                                <input type="text" name="MaterialName" id="MaterialName"  class="field text small"  value="<?php 
    echo viewtext($MaterialName);
    ?>
" />
                               
                            </li>
                            <li>
                            	<div>
                                	<input name="submit" type="submit" class="ui-state-default ui-corner-all ui-button" value="Save" />&nbsp;&nbsp;<input name="button" type="button" class="ui-state-default ui-corner-all ui-button" onclick='if(confirm(&quot;Are you sure you want to cancel?\n\nThis will cancel any changes you have made and not yet saved!&quot;)) { document.location.href=&quot;index.php?p=material&quot;}' value="Cancel" />
                                </div>
                            </li>
                        </ul>
                    </form>
					<div class="clear"></div>
				</div>
		</div>
	</div>
Пример #2
0
									Company Name  
								</label>
								<div>
                                <input type="text" name="CompanyName" id="CompanyName" class="field text medium" value="<?php 
    echo viewtext($CompanyName);
    ?>
">
                               </div>
                            </li>
                            <li>
								<label  class="desc">
									Testimonials  
								</label>
								<div>
                                <textarea name="Testimonials" id="Testimonials" style="width:50%; height:100px;"><?php 
    echo viewtext($Testimonials);
    ?>
</textarea>
                               </div>
                            </li>
                            <li>
                            	<div>
                                	<input name="submit" type="submit" class="ui-state-default ui-corner-all ui-button" value="Save" />&nbsp;&nbsp;<input name="button" type="button" class="ui-state-default ui-corner-all ui-button" onclick='if(confirm(&quot;Are you sure you want to cancel?\n\nThis will cancel any changes you have made and not yet saved!&quot;)) { document.location.href=&quot;index.php?p=testimonials&quot;}' value="Cancel" />
                                </div>
                            </li>
                        </ul>
                    </form>
					<div class="clear"></div>
				</div>
		</div>
	</div>
Пример #3
0
									Price:
								</label>
								
                                <input type="text" name="price" id="price"    value="<?php 
    echo viewtext($price);
    ?>
" class="field text small" style="margin-left:40px;"/>
                               
                            </li>
                            <li>
								<label  class="desc123">
									Discount Offer:
								</label>
								
                                <input type="text" name="offer" id="offer"    value="" class="field text small" style="margin-left:-9px;" value="<?php 
    echo viewtext($price);
    ?>
""/>
                               
                            </li>
                            <div id='TextBoxesGroup' style="width:360px; float:left;">
                                <div id="TextBoxDiv1">
                                    <li>
                                       <label  class="desc123" style="padding-right:50px; padding-left:30px;">
                                            Size
                                        </label>
                                        <label  class="desc123" style="padding-right:50px; padding-left:30px;">
                                            Color
                                        </label>
                                        <label  class="desc123" style="padding-right:50px; padding-left:30px;">
                                            Quantity
Пример #4
0
						<tr>
                            <td><?php 
        echo viewtext($user[$i]['UserId']);
        ?>
</td>
                           
                            <td><?php 
        echo viewtext($user[$i]['firstname']);
        ?>
</td>
                            <td><?php 
        echo viewtext($user[$i]['lastname']);
        ?>
</td>
                            <td><?php 
        echo viewtext($user[$i]['email']);
        ?>
</td>
                           
                            <td><?php 
        if ($user[$i]['Status'] == "1") {
            echo "Active";
        } else {
            echo "DeActive";
        }
        ?>
</td>
                           
                        </tr>
                        <?php 
    }
Пример #5
0
							<input type="hidden" name="a" value="update">                            
							<?php 
    } else {
        ?>
                            <input type="hidden" name="a" value="add"> 
                            <?php 
    }
    ?>
                    	<ul>
                        	<li>
								<label  class="desc">
									Collar Name
								</label>
								
                                <input type="text" name="CollarName" id="CollarName"  class="field text small"  value="<?php 
    echo viewtext($CollarName);
    ?>
" />
                               
                            </li>
                            <li>
                            	<div>
                                	<input name="submit" type="submit" class="ui-state-default ui-corner-all ui-button" value="Save" />&nbsp;&nbsp;<input name="button" type="button" class="ui-state-default ui-corner-all ui-button" onclick='if(confirm(&quot;Are you sure you want to cancel?\n\nThis will cancel any changes you have made and not yet saved!&quot;)) { document.location.href=&quot;index.php?p=collar&quot;}' value="Cancel" />
                                </div>
                            </li>
                        </ul>
                    </form>
					<div class="clear"></div>
				</div>
		</div>
	</div>
Пример #6
0
									CompanyAddress:
								</label>
								
                                <input type="text" name="CompanyAddress" id="CompanyAddress"  class="field text small"  value="<?php 
    echo viewtext($CompanyAddress);
    ?>
" />
                               
                            </li>
                            <li>
								<label  class="desc">
									ContactNo:
								</label>
								
                                <input type="text" name="ContactNo" id="ContactNo"  class="field text small"  value="<?php 
    echo viewtext($ContactNo);
    ?>
" style="margin-left:43px;" />
                               
                            </li>
                            <li>
								<label  class="desc123" >
									BrandImage:
								</label>
								<img src="<?php 
    echo $AbsoluteAdminURL;
    ?>
images/Product_Image/<?php 
    echo $rsUser[0]['ProductImage'];
    ?>
" height="80" width="80"  />
Пример #7
0
                            <input class="field text small" <?php 
echo $str;
?>
 tabindex="1"  type="text" id="external_link" name="external_link" value="<?php 
echo viewtext($external_link);
?>
"  />

                        </li>
                        <li>
                            <label  class="desc">
                                Menu Order
                            </label>

                            <input class="field text small" tabindex="1"  type="text" id="small-input" name="menu_order" value="<?php 
echo viewtext($menu_order);
?>
" />

                        </li>

                        <li>
                            <label  class="desc">
                                Status
                            </label>
                            <?php 
$status_opt[''] = 'Select';
$status_opt['0'] = 'Inactive';
$status_opt['1'] = 'Active';
$attr['name'] = 'status';
$attr['id'] = 'status';
Пример #8
0
									Case Studies Details 
								</label>
								<div>
                                <textarea name="CaseDetails" id="CaseDetails" class="ckeditor" style="width:50%; height:100px;"><?php 
    echo viewtext($CaseDetails);
    ?>
</textarea>
                               </div>
                            </li>
                             <li>
								<label  class="desc">
									Case Studies Main Features 
								</label>
								<div>
                                <textarea name="MainFeatures" id="MainFeatures" class="ckeditor" style="width:50%; height:100px;"><?php 
    echo viewtext($MainFeatures);
    ?>
</textarea>
                               </div>
                            </li>
                            <li>
								<label  class="desc">
									Case Image  
								</label>
								<div>
                               		<input type="file" name="CaseImage" id="CaseImage" />
                                    <div style="margin-top:10px;"><img src="<?php 
    echo $AbsoluteURL . "extraimages/caseimages/" . $CaseImage;
    ?>
" border="0" width="152" height="112"  /> </div>
                               </div>
Пример #9
0
        ?>
                                	<input type="hidden" name="FeaturesID[]" id="FeaturesID" value="<?php 
        echo $rsPack[$i]['FeaturesID'];
        ?>
" />
                            		<li>
                                        <label  class="desc">
                                            Package Features <?php 
        if ($i != 0) {
            echo $i;
        }
        ?>
                                        </label>
                                        <div>
                                        <input type="text" name="PFeature[]" id="PFeature[]" class="field text medium" value="<?php 
        echo viewtext($rsPack[$i]['PFeature']);
        ?>
">
                                       </div>
                                	</li>
                                    <div>
                                    <li style="width:90px; float:left; clear:none">
                                        <label  class="desc" style="width:90px">
                                            Silver Pack
                                        </label>
                                        <div style="width:300px;">
                                        <select name="SPackage[]" id="SPackage[]" class="field select small">
                                        	<option value="">Select</option>
                                            <option value="1" <?php 
        if ($rsPack[$i]['SPackage'] == '1') {
            ?>
Пример #10
0
                            <input type="hidden" name="a" value="update">                            
                        <?php 
    } else {
        ?>
                            <input type="hidden" name="a" value="add"> 
                        <?php 
    }
    ?>
                        <ul>
                            <li>
                                <label  class="desc">
                                    Category Name<em>*</em>
                                </label>

                                <input type="text" name="Category" id="Category"  class="field text small"  value="<?php 
    echo viewtext($Category);
    ?>
" />

                            </li>
                            <li>
                                <div>
                                <input name="submit" type="submit" class="ui-state-default ui-corner-all ui-button" value="Save" />&nbsp;&nbsp;<input name="button" type="button" class="ui-state-default ui-corner-all ui-button" onclick='if (confirm("Are you sure you want to cancel?\n\nThis will cancel any changes you have made and not yet saved!")) {
            document.location.href = "index.php?p=category"
        }' value="Cancel" />
                            </div>
                            </li>
                        </ul>
                    </form>
                    <div class="clear"></div>
                </div>
Пример #11
0
                                <input type="text" name="price" id="price"    value="<?php 
    echo viewtext($price);
    ?>
" class="field text small" />

                            </li>

                            <li>
                                <label  class="desc123">
                                    Description<em>*</em>

                                </label>

                                <textarea class="field text small" tabindex="1"  type="text" id="description" name="description"><?php 
    echo viewtext($description);
    ?>
</textarea>

                            </li>


    <?php 
    /* ?><input type='button' class="ui-state-default ui-corner-all ui-button" value='Remove Button' id='removeButton'></div><?php */
    ?>
                            <li>
                                <div>
                                    <input name="submit" type="submit" class="ui-state-default ui-corner-all ui-button" value="Save" />&nbsp;&nbsp;<input name="button" type="button" class="ui-state-default ui-corner-all ui-button" onclick='if (confirm("Are you sure you want to cancel?\n\nThis will cancel any changes you have made and not yet saved!")) {
                document.location.href = "index.php?p=product"
            }' value="Cancel" />
                                </div>
Пример #12
0
							<input type="hidden" name="a" value="update">                            
							<?php 
    } else {
        ?>
                            <input type="hidden" name="a" value="add"> 
                            <?php 
    }
    ?>
                    	<ul>
                        	<li>
								<label  class="desc">
									Design Name
								</label>
								
                                <input type="text" name="DesignName" id="DesignName"  class="field text small"  value="<?php 
    echo viewtext($DesignName);
    ?>
" />
                               
                            </li>
                            <li>
                            	<div>
                                	<input name="submit" type="submit" class="ui-state-default ui-corner-all ui-button" value="Save" />&nbsp;&nbsp;<input name="button" type="button" class="ui-state-default ui-corner-all ui-button" onclick='if(confirm(&quot;Are you sure you want to cancel?\n\nThis will cancel any changes you have made and not yet saved!&quot;)) { document.location.href=&quot;index.php?p=design&quot;}' value="Cancel" />
                                </div>
                            </li>
                        </ul>
                    </form>
					<div class="clear"></div>
				</div>
		</div>
	</div>
Пример #13
0
                                                    <td><?php 
                    echo viewtext($rsUser[$i]['review_name']);
                    ?>
</td>
                                                    <td><?php 
                    echo viewtext($product_detail[$rsUser[$i]['ProductId']]);
                    ?>
</td>

                                                    <td><?php 
                    echo viewtext($rsUser[$i]['review_title']);
                    ?>
                                                    </td>

                                                    <td><?php 
                    echo viewtext($rsUser[$i]['review_description']);
                    ?>
                                                    </td>

                                                    <td>
                    <!--                                                        <a href="<?php 
                    echo $AbsoluteURLAdmin;
                    ?>
index.php?p=product&a=edit&review_Id=<?php 
                    echo $rsUser[$i]['review_Id'];
                    ?>
" title="Edit" style="float:left" class="btn_no_text btn ui-state-default ui-corner-all tooltip"><span class="ui-icon ui-icon-wrench"></span></a>-->
                                                        <?php 
                    if ($_SESSION['session_review_Id'] != $rsUser[$i]['review_Id']) {
                        ?>
                                                            <a id="modal_confirmation_link<?php 
Пример #14
0
							<input type="hidden" name="a" value="update">                            
							<?php 
    } else {
        ?>
                            <input type="hidden" name="a" value="add"> 
                            <?php 
    }
    ?>
                    	<ul>
                        	<li>
								<label  class="desc">
									Size:
								</label>
								
                                <input type="text" name="Size" id="Size"  class="field text small"  value="<?php 
    echo viewtext($Size);
    ?>
" />
                               
                            </li>
                            <li>
                            	<div>
                                	<input name="submit" type="submit" class="ui-state-default ui-corner-all ui-button" value="Save" />&nbsp;&nbsp;<input name="button" type="button" class="ui-state-default ui-corner-all ui-button" onclick='if(confirm(&quot;Are you sure you want to cancel?\n\nThis will cancel any changes you have made and not yet saved!&quot;)) { document.location.href=&quot;index.php?p=size&quot;}' value="Cancel" />
                                </div>
                            </li>
                        </ul>
                    </form>
					<div class="clear"></div>
				</div>
		</div>
	</div>
Пример #15
0
<?php

$p = loadVariable("p", "");
$a = loadVariable("a", "");
$PID = loadVariable("PID", "");
$id = loadVariable("id", "");
$value = loadVariable("value", "");
$DB = loadVariable("DB", "");
$FIELDSHOW = loadVariable("FIELDSHOW", "");
$sql = "UPDATE " . PROPERTY . " SET " . $id . "='" . inserttext($value) . "' where ID='" . $PID . "'";
$rsUpd = $objDB->sql_query($sql);
$SQL = "select " . $FIELDSHOW . " from " . $DB . " where " . $id . "='" . viewtext($value) . "'";
$rsDB = $objDB->select($SQL);
if ($id == "Status") {
    if ($rsDB[0][$FIELDSHOW] == 0) {
        echo "Inactive";
    } elseif ($rsDB[0][$FIELDSHOW] == 1) {
        echo "Active";
    } elseif ($rsDB[0][$FIELDSHOW] == 2) {
        echo "Postpond";
    } elseif ($rsDB[0][$FIELDSHOW] == 3) {
        echo "Canclled";
    } elseif ($rsDB[0][$FIELDSHOW] == 4) {
        echo "Sold to 3rd";
    } elseif ($rsDB[0][$FIELDSHOW] == 5) {
        echo "Sold to Bank";
    }
} else {
    echo $rsDB[0][$FIELDSHOW];
}
exit;
Пример #16
0
							<input type="hidden" name="a" value="update">                            
							<?php 
    } else {
        ?>
                            <input type="hidden" name="a" value="add"> 
                            <?php 
    }
    ?>
                    	<ul>
                        	<li>
								<label  class="desc">
									Sub Category Name:
								</label>
								
                                <input type="text" name="SubCategory" id="SubCategory"    value="<?php 
    echo viewtext($SubCategory);
    ?>
" />
                               
                            </li>
                            <li>
								<label  class="desc">
									Main Category Name:
								</label>
								
                                <select name="maincategory" class="field text small" style="margin-left:-2px;">
                                <?php 
    $sql = "select * from category";
    $rscat = $objDB->select($sql);
    ?>
                                <option value="">Select Category</option>
                            <label  class="desc">
                                Content
                            </label>
                            <textarea  id="content" name="content"><?php 
echo $content;
?>
</textarea>

                        </li>
                        <li>
                            <label  class="desc">
                                SEO Footer Text 
                            </label>

                            <textarea class="field text small" tabindex="1" type="text" id="seo_text" name="seo_text"><?php 
echo viewtext($seo_text);
?>
</textarea>

                        </li>
                        <li>
                            <label  class="desc">
                                Status
                            </label>
                            <?php 
$status_opt[''] = 'Select';
$status_opt['0'] = 'Inactive';
$status_opt['1'] = 'Active';
$attr['name'] = 'status';
$attr['id'] = 'status';
$attr['size'] = '1';
Пример #18
0
							<input type="hidden" name="a" value="update">                            
							<?php 
    } else {
        ?>
                            <input type="hidden" name="a" value="add"> 
                            <?php 
    }
    ?>
                    	<ul>
                        	<li>
								<label  class="desc">
									Color:
								</label>
								
                                <input type="text" name="ColorName" id="ColorName"  class="field text small"  value="<?php 
    echo viewtext($ColorName);
    ?>
" />
                              
                            </li>
                            <li>
                            	<div>
                                	<input name="submit" type="submit" class="ui-state-default ui-corner-all ui-button" value="Save" />&nbsp;&nbsp;<input name="button" type="button" class="ui-state-default ui-corner-all ui-button" onclick='if(confirm(&quot;Are you sure you want to cancel?\n\nThis will cancel any changes you have made and not yet saved!&quot;)) { document.location.href=&quot;index.php?p=color&quot;}' value="Cancel" />
                                </div>
                            </li>
                        </ul>
                    </form>
					<div class="clear"></div>
				</div>
		</div>
	</div>