<script src="//cdn.ckeditor.com/4.7.3/standard/ckeditor.js"></script>

<section role="main" class="content-body">

					<header class="page-header">

						<h2>Add Product</h2>

						<div class="right-wrapper pull-right">

							<ol class="breadcrumbs">

								<li>

									<a href="<?php echo base_url();?>admin">

										<i class="fa fa-home"></i>

									</a>

								</li>

								<li><span>Add Product</span></li>

							</ol>

					

						</div>

					</header>



					<div class="row">

						<div class="col-md-12">

                         

                       	  <?php if($this->uri->segment(3)){//$colors=explode(",",$pro->sizes);?>

           <form action="<?php echo base_url();?>admin/edit_product_submit" method="post" enctype="multipart/form-data">

           <input type="hidden" name="proid" value="<?php echo $this->uri->segment(3);?>"/>

                    <div class="col-md-10 col-md-offset-1" style="background:#FFF; padding:5px;">

                    <?php if($this->session->flashdata("msg")!==""){echo $this->session->flashdata("msg"); }?>

                    <ul class="nav nav-tabs">

                      <li class="active"><a href="#tab21" data-toggle="tab"><strong>Product Info</strong></a></li>

                      <li class="pull-right">

                      <button class="btn btn-success" type="submit">Update Product</button></li>                      

                    </ul>

                    <div class="tab-content  mgbt-xs-20">

                      <div class="tab-pane active col-md-12" id="tab21"><br/>

                      	<div class="row">

                          <div class="col-md-8">

                           <div class="row">

                          	<div class="form-group col-md-6">

                                <label for="email">Select MainCategory</label>

                                <select class="cat form-control" name="mcat" id="mcat" required>

                                    <option value="">Select MainCategory</option>

                                    <?php $mcat=$this->db->get("mcategory")->result();

										foreach($mcat as $mcat){?>

									<option <?php if($mcat->mid==$pro->mid){echo 'selected';}?> value="<?php echo $mcat->mid;?>"><?php echo $mcat->mcat_name;?></option>

									<?php }?>

                                </select>

                            </div>

                            </div>

                           <div class="row">

                          	<div class="form-group col-md-6">

                                <label for="email">Select Category</label>

                                <select class="cat form-control" name="cat" id="cat">

                                                <option value="">Select Category</option>

                                                <?php foreach($cats as $cat){?>

                        <option <?php if($pro->cid==$cat->cid){echo 'selected';}?> value="<?php echo $cat->cid;?>"><?php echo $cat->cat_name;?></option>

                                                <?php }?>

                                            </select>

                            

                            </div>

                            <div class="form-group col-md-6">

                                <label for="pwd">Select Subcategory</label>

                               <select class="subcat form-control" id="subcat" name="subcat">

                                                 <?php $subc=$this->db->get_where("subcategory",array("cid"=>$pro->cid))->result();

												 		foreach($subc as $sub){?>

                        <option value="<?php echo $sub->sid;?>" <?php if($pro->sid==$sub->sid){echo 'selected';}?>><?php echo $sub->subcat_name;?></option><?php }?>

                                            </select>

                            </div> 

                            </div>

                            <div class="row">

                            <?php //if($this->session->userdata("type")=="vendor"){?>

                             <input type="hidden" name="vendor" value="<?php echo $this->session->userdata("userid");?>" />

                             <?php //}else{?>

                          	<div class="form-group col-md-6" style="display:none;">

                                <label for="email">Select Vendor</label>

                                <select class=" form-control" name="vendor">

                                    <option value="">Select Vendor</option>

                                    <?php $vn=$this->db->get("vendors")->result();

											foreach($vn as $v){?>

                <option <?php if($pro->vendor==$v->vid){echo 'selected';}?> value="<?php echo $v->vid;?>"><?php echo $v->v_name;?></option>

                                    <?php }?>

                                </select>

                            </div>

                            <?php //}?>

                            <div class="form-group col-md-6">

                                <label for="pwd">Select Brand</label>

                                 <select class=" form-control" name="brand">

                                    <option value="">Select Brand</option>

                                    <?php $vn=$this->db->get("brands")->result();

											foreach($vn as $v){?>

                                    <option <?php if($pro->brand==$v->brid){echo 'selected';}?> value="<?php echo $v->brid;?>"><?php echo $v->brname;?></option>

                                    <?php }?>

                                </select>

                            </div> 

                            </div>

                                <div class="form-group">

                                    <label for="pwd">Title</label>

                                    <input type="text" name="title" value="<?php echo $pro->title;?>" class="form-control" required>

                                </div>

                                <div class="form-group" style="width:40%;">

                                	<label>Pack/Price Type</label>

                                    <select class="form-control" name="ptype" required id="ptype">

                                    	<option value="">Pack/Price Type</option>

                                        <option value="Normal"  <?php if($pro->prod_type=="Normal"){echo "selected";}?>>Normal</option>

                                        <option value="Variant"  <?php if($pro->prod_type=="Variant"){echo "selected";}?>>Variant</option>

                                    </select>

                                </div>

                                <div class="row" id="Normal"  <?php if($pro->prod_type=="Variant"){?> style="display:none;"<?php }?>>

                                    <div class="col-md-3">

                                        <label for="price">PurchasePrice</label>

                                        <input type="text" value="<?php echo $pro->pur_price;?>" class="form-control" name="pur_price"  />

                                    </div>

                                    <div class="col-md-3">

                                        <label for="price">Price</label>

                                        <input type="text" value="<?php echo $pro->price;?>" class="form-control" name="nprice"  />

                                    </div>

                                    <div class="col-md-3">

                                        <label for="price">Offer Price</label>

                                        <input type="text" value="<?php echo $pro->oprice;?>" class="form-control" name="noprice" />

                                    </div>

                                    <div class="col-md-3">

                                        <label for="price">Qty</label>

                                        <input type="number" value="<?php echo $pro->qty;?>" class="form-control" name="nqty" />

                                    </div>

                                </div>

                                <div id="Variant"  <?php if($pro->prod_type=="Normal"){?> style="display:none;"<?php }?>>

                                <br/>

                                <table class="table table-bordered table-hover" id="tab_logic">

                                            <thead><tr><th>Pack</th><th>Price</th><th>OfferPrice</th><th>Qty</th><th></th></tr></thead>

                                            <tbody>

                                            	<?php $packs=explode(",",$pro->packs);

													  $prices=explode(",",$pro->prices);

													  $oprices=explode(",",$pro->oprices);

													  $qtys=explode(",",$pro->qtys);$i=0;foreach($packs as $pack){?>

                                                <tr id='addr0'>

                            <td><input type="text" value="<?php echo $pack;?>" name='pack[]'  placeholder='1 kg' class="form-control"/></td>

                            <td><input type="text" value="<?php echo $prices[$i];?>" name='price[]' placeholder='100' class="form-control"/></td>

                            <td><input type="text" value="<?php echo $oprices[$i];?>" name='oprice[]' placeholder='80' class="form-control"/></td>

                            <td><input type="text" value="<?php echo $qtys[$i];?>" name='qty[]' placeholder='10' class="form-control"/></td>

                                <td><a href="#" class="remove_tr btn btn-warning"><i class="fa fa-trash-o"></i></a></td>

                                                </tr><?php $i++;}?>

                                                <tr id='addr1'></tr>

                                            </tbody>

                                        </table>  

<a id="add_row" class="btn btn-success btn-xs pull-left">Add Row</a><a id='delete_row' class="pull-right btn-xs btn btn-danger">Delete Row</a><hr/>

</div>     

                          

                          <div class="row">

                                	<div class="col-md-12">

                                    

                                    	<label for="price">Gallery Images (Upload Size Chart, BackSide Image and Other)</label>

                            <input type="file" class="form-control" id="tg-photogallery"  onchange="preview_images();" name="test11[]"  multiple />

                            <input type="hidden" name="oldimgs" value="<?php echo $pro->extimgs;?>" id="oldimgs" />

                            			<div class="row">

                                            <?php $imgs=explode(",",$pro->extimgs);

											foreach($imgs as $img){?>

                                            <div class="col-md-3 text-center">

                                            <img width="100%" src="<?php echo base_url();?>assets/images/products/<?php echo $img;?>" alt="">

                           <a class="btn btn-xs btn-danger removeimg" id="<?php echo $pro->pid;?>" href="<?php echo $img;?>">remove</a></div>

                                            <?php }?>

                                            </div>

                                        <div class="row" id="image_preview"></div>

                                    </div>

                                </div>

                          </div>

                          <div class="form-group col-md-4">

                            <div class="form-group">

                                <label for="image">Upload Preview Image</label>

                                <input type="file" class="form-control" id="fileUpload" name="profile_img"  />

                                <input type="hidden" name="oldimg" value="<?php echo $pro->img;?>" />

                                <div class="form-group" id="image-container">

                               <img class="img img-responsive" src="<?php echo base_url();?>assets/images/products/<?php echo $pro->img;?>" /> 

                                        </div>

                              

                               </div>

                               <div class="form-group">

                               	<label>Add Comma Seperated Tags</label>

                                <textarea name="tags" class="form-control" rows="4" /><?php echo $pro->tags;?></textarea>

                               </div>

                          </div>

                         </div>

                          <div class="row">

                         

                           <div class="form-group col-md-12"> <h4>Add Product Description</h4>

	<textarea class="summernote"  name="editor1"><?php echo $pro->sdesc;?></textarea>

											</div>

                                            </div>

                                            <div class="form-group">

                                <label class="control-label">Meta Title</label>

                                <input type="text" name="meta_title" value="<?php echo $pro->meta_title;?>" class="form-control">

                            </div>   

                            <div class="form-group">

                                <label class="control-label">Meta Keywords</label>

                                <textarea class="form-control" rows="2"  name="meta_key"><?php echo $pro->meta_key;?></textarea>

                            </div>

                            <div class="form-group">

                                <label class="control-label">Meta Description</label>

                                <textarea class="form-control" rows="5" name="meta_desc"><?php echo $pro->meta_desc;?></textarea>

                            </div>

                            <div class="form-group">

                                <label class="control-label">Og:Title</label>

                                <input type="text" name="og_title" value="<?php echo $pro->og_title;?>" class="form-control">

                            </div>

                            <div class="form-group">

                                <label class="control-label">Og:Description</label>

                                <textarea class="form-control" rows="4" name="og_desc"><?php echo $pro->og_desc;?></textarea>

                            </div>

                      </div>

                    </div>

                    </div>

                    <script>

					$(document).ready(function(){

						$(".remove_tr").click(function(e){e.preventDefault();

							$(this).closest("tr").remove();

						});

							var i=1;

     $("#add_row").click(function(){

      $('#addr'+i).html("<td><input name='pack[]' type='text' placeholder='1 kg' class='form-control input-md'  /> </td><td><input  name='price[]' type='text' placeholder='100'  class='form-control input-md'></td><td><input  name='oprice[]' type='text' placeholder='80'  class='form-control input-md'></td><td><input  name='qty[]' type='text' placeholder='10'  class='form-control input-md'></td><td></td>");



      $('#tab_logic').append('<tr id="addr'+(i+1)+'"></tr>');

      i++; 

  });

     $("#delete_row").click(function(){

    	 if(i>1){

		 $("#addr"+(i-1)).html('');

		 i--;

		 }

	 });

					});

					</script>

                    </form>

           <?php }else{?>

          <form action="<?php echo base_url();?>admin/add_product_submit" method="post" enctype="multipart/form-data" id="proform">          

                    <div class="col-md-10 col-md-offset-1" style="background:#FFF; padding:5px;">

                     <div class="alert alert-warning" id="msgg"  style="display:none;">Uploading Product Please Wait...</div>

                    <?php if($this->session->flashdata("msg")!==""){echo $this->session->flashdata("msg"); }?>

                    <ul class="nav nav-tabs">

                      <li class="active"><a href="#tab21" data-toggle="tab"><strong>Product Info</strong></a></li>

                      <li class="pull-right">

                      <button class="btn btn-success" type="submit" id="submitbtn">Add Product</button></li>

                    </ul>

                    <div class="tab-content">

                      <div class="tab-pane active col-md-12" id="tab21"><br/>

                      	<div class="row">

                          <div class="col-md-8">

                            <div class="row">

                          	<div class="form-group col-md-6">

                                <label for="email">Select MainCategory</label>

                                <select class="cat form-control" name="mcat" id="mcat" required>

                                    <option value="">Select MainCategory</option>

                                    <?php $mcat=$this->db->get("mcategory")->result();

										foreach($mcat as $cat){?>

									<option value="<?php echo $cat->mid;?>"><?php echo $cat->mcat_name;?></option>

									<?php }?>

                                </select>

                            </div>

                            </div><div class="row">

                            <div class="form-group col-md-6">

                                <label for="email">Select Category</label>

                                <select class="cat form-control" name="cat" id="cat" required>

                                    <option value="">Select Category</option>

                                </select>

                            </div>

                            <div class="form-group col-md-6">

                                <label for="email">Select Subcategory</label>

                                <select class="subcat form-control" name="subcat" id="subcat" required>

                                    <option value="">Select Subcategory</option>

                                </select>

                            </div>

                            </div>

                            <div class="row">

                             <?php //if($this->session->userdata("type")=="vendor"){?>

                             <input type="hidden" name="vendor" value="<?php //echo $this->session->userdata("userid");?>" />

                             <?php //}else{?>

                          	<div class="form-group col-md-6" style="display:none;">

                                <label for="email">Select Vendor</label>

                                <select class=" form-control" name="vendor">

                                    <option value="">Select Vendor</option>

                                    <?php $vn=$this->db->get("vendors")->result();

											foreach($vn as $v){?>

                                    <option value="<?php echo $v->vid;?>"><?php echo $v->v_name;?></option>

                                    <?php }?>

                                </select>

                            </div>

                            <?php //}?>

                            <div class="form-group col-md-6">

                                <label for="pwd">Select Brand</label>

                                 <select class=" form-control" name="brand">

                                    <option value="">Select Brand</option>

                                    <?php $vn=$this->db->get("brands")->result();

											foreach($vn as $v){?>

                                    <option value="<?php echo $v->brid;?>"><?php echo $v->brname;?></option>

                                    <?php }?>

                                </select>

                            </div> 

                            </div>

							<div class="form-group">

                                    <h5 class="text-success"><b>Product Title</b></h5>

                                    <input type="text" name="title" class="form-control" required>

                                </div>

                                <div class="form-group" style="width:40%;">

                                	<label>Pack/Price Type</label>

                                    <select class="form-control" required name="ptype" id="ptype">

                                    	<option value="">Pack/Price Type</option>

                                        <option value="Normal" selected>Normal</option>

                                        <option value="Variant">Variant</option>

                                    </select>

                                </div>

                                <div class="row" id="Normal">

                                    <div class="col-md-3">

                                        <label for="price">PurchasePrice</label>

                                        <input type="text" class="form-control" name="pur_price"  />

                                    </div>

                                    <div class="col-md-3">

                                        <label for="price">Price</label>

                                        <input type="text" class="form-control" name="nprice"  />

                                    </div>

                                    <div class="col-md-3">

                                        <label for="price">Offer Price</label>

                                        <input type="text" class="form-control" name="noprice" />

                                    </div>

                                    <div class="col-md-3">

                                        <label for="price">Qty</label>

                                        <input type="number" class="form-control" name="nqty" />

                                    </div>

                                </div>

                                <div id="Variant" style="display:none;">

                                <br/>

                                <table class="table table-bordered table-hover" id="tab_logic">

                                            <thead><tr><th>#</th><th>Pack</th><th>Price</th><th>OfferPrice</th><th>Qty</th></tr></thead>

                                            <tbody>

                                                <tr id='addr0'>

                                                    <td>1</td>

                                                    <td><input type="text" name='pack[]'  placeholder='1 kg' class="form-control"/></td>

                                                    <td><input type="text" name='price[]' placeholder='100' class="form-control"/></td>

                                                    <td><input type="text" name='oprice[]' placeholder='80' class="form-control"/></td>

                                                    <td><input type="text" name='qty[]' placeholder='10' class="form-control"/></td>

                                                </tr>

                                                <tr id='addr1'></tr>

                                            </tbody>

                                        </table>  

<a id="add_row" class="btn btn-success btn-xs pull-left">Add Row</a><a id='delete_row' class="pull-right btn-xs btn btn-danger">Delete Row</a><hr/>

</div>

                                <div class="form-group">

                                 <label for="price">Gallery Images</label>

                                  <input type="file" class="form-control" id="tg-photogallery"  onchange="preview_images();" name="test11[]"  multiple />

                              

                               </div>

                        <div class="row" id="image_preview"></div>

                        <!--<div class="row">

                            <div class="col-md-12">

                                <label for="price">Gallery Images</label>

                              <input type="file" class="form-control" id="tg-photogallery"  onchange="preview_images();" name="test1[]"  multiple />

                                <div class="row" id="image_preview"></div>

                            </div>

                        </div>-->

                          </div>

                          <div class="form-group col-md-4">

                            <div class="form-group">

                                <label for="image">Upload Preview Image</label>

                                <input type="file" class="form-control" id="fileUpload" name="profile_img"  />

                                <div class="form-group" id="image-container">

                               		<img class="img img-responsive" src="<?php echo base_url();?>assets/images/products/default.jpg" /> 

                                </div>

                               </div>

                               <div class="form-group">

                               	<label>Add Comma Seperated Tags</label>

                                <textarea name="tags" class="form-control" rows="4" /></textarea>

                               </div>

                          	</div>

                          

                         </div>

                          <div class="row">

                         

                           <div class="form-group col-md-12"> <h4>Add Product Description</h4>

	<textarea class="summernote"  name="editor1"></textarea>

											</div>

                                            </div>

                                            <div class="form-group">

                                <label class="control-label">Meta Title</label>

                                <input type="text"  name="meta_title" class="form-control">

                            </div>   

                            <div class="form-group">

                                <label class="control-label">Meta Keywords</label>

                                <textarea class="form-control" rows="2" name="meta_key"></textarea>

                            </div>

                            <div class="form-group">

                                <label class="control-label">Meta Description</label>

                                <textarea class="form-control" rows="5" name="meta_desc"></textarea>

                            </div>

                            <div class="form-group">

                                <label class="control-label">Og:Title</label>

                                <input type="text" name="og_title" class="form-control">

                            </div>

                            <div class="form-group">

                                <label class="control-label">Og:Description</label>

                                <textarea class="form-control" rows="4" name="og_desc"></textarea>

                            </div>

                      </div>

                      

                    </div>

                    </div>

                    <script>

					$(document).ready(function(){

							var i=1;

     $("#add_row").click(function(){

      $('#addr'+i).html("<td>"+ (i+1) +"</td><td><input name='pack[]' type='text' placeholder='1 kg' class='form-control input-md'  /> </td><td><input  name='price[]' type='text' placeholder='100'  class='form-control input-md'></td><td><input  name='oprice[]' type='text' placeholder='80'  class='form-control input-md'></td><td><input  name='qty[]' type='text' placeholder='10'  class='form-control input-md'></td>");



      $('#tab_logic').append('<tr id="addr'+(i+1)+'"></tr>');

      i++; 

  });

     $("#delete_row").click(function(){

    	 if(i>1){

		 $("#addr"+(i-1)).html('');

		 i--;

		 }

	 });

					});

					</script>

                    </form>

           <?php }?>

						</div>

						

                    </div>

				</section>

			</div>



			

		</section>



		<!-- Vendor -->

        <script>

		CKEDITOR.replace( 'editor1' );

		$("#fileUpload").on('change', function() {



  if (typeof(FileReader) == "undefined") {

    alert("Your browser doesn't support HTML5, Please upgrade your browser");

  } else {



    var container = $("#image-container");



    //remove all previous selected files

    container.empty();



    //create instance of FileReader

    var reader = new FileReader();

    reader.onload = function(e) {

      $("<img />", {

        "src": e.target.result,"style": 'width:200px;'

      }).appendTo(container);

    }

    

    reader.readAsDataURL($(this)[0].files[0]);

  }});

   			$("#mcat").change(function(){

				var cid=$(this).val();

				$.ajax({

				 type: "POST",

				 url: '<?php echo base_url();?>admin/ajax_mcat',

				 data: {cid:cid},

				 success: function(res){

				//alert(res);

				$("#cat").html(res);

				}

				 }); 

			});

			$(".cat").change(function(){

				var cid=$(this).val();

				$.ajax({

				 type: "POST",

				 url: '<?php echo base_url();?>admin/ajax_showsubcat1',

				 data: {cid:cid},

				 success: function(res){

				//alert(res);

				$(".subcat").html(res);

				}

				 }); 

			});

		$(document).ready(function(){

			

			$("#pack_type").change(function(){

									var p=$(this).val();

									if(p=="Box"){

										$(".typebox").show();

										$(".type_cylinder").hide();

									}else{

										$(".typebox").hide();

										$(".type_cylinder").show();

									}

								});

			$("#rrp").keyup(function(){

				var rrp=$(this).val();

				var maxap=parseInt(rrp)*5;

				var minap=parseInt(rrp)*3;

				$("#maxap").val(maxap);

				$("#minap").val(minap);

			});

		$("#diameter").keyup(function(){var tot=1;

			var h=$("#height").val();

			var d=$("#diameter").val();

			var newv=(h*d*d*250).toFixed(3);

			$(".calcr").val(newv);

		});

		$(".calc").keyup(function(){var tot=1;

			var pt=$("#pack_type").val();

			if(pt=="Box"){

			$('.calc').each(function(){

				var total_amt=$(this).val();

				if(total_amt!="" && parseFloat(total_amt)>0){

					tot = parseFloat(total_amt) * tot;

				}

			 });

			 var tt=(tot*250).toFixed(3);

			 $(".calcr").val(tt);

			}else{

			var h=$("#height").val();

			var d=$("#diameter").val();

			//console.log(h);

//			console.log(d);

//			return false;

			var newv=(h*d*d*250).toFixed(3);

			$(".calcr").val(newv);

			}

		});

		$("form#proform").submit(function(){

			$("#submitbtn").attr("disabled",true);

			$("#msgg").slideDown();

		});

		$("#ptype").change(function(){

			var ptype=$(this).val();

			if(ptype=="Normal"){

				$("#Normal").show();

				$("#Variant").hide();	

			}

			if(ptype=="Variant"){

				$("#Normal").hide();

				$("#Variant").show();	

			}

		});

$(".removeimg").click(function(e){e.preventDefault();

				var img=$(this).attr("href");

				var aid=$(this).attr("id");

				var oldimgs=$("#oldimgs").val();

				$(this).closest("div.text-center").remove();

				$.ajax({

				 type: "POST",

				 url: '<?php echo base_url();?>admin/ajax_remove_imgs',

				 data: {aid:aid,img:img,oldimgs:oldimgs},

				 success: function(res){

				 $("#oldimgs").val(res);

				}

				 }); 

			});

			$(".removecols").click(function(e){e.preventDefault();

				var aid=$(this).attr("id");

				var oldcols=$("#oldcols").val();

				var oldcolor=$("#oldcolor").val();

				var old=$(this).attr("href");

				//alert(oldcols);alert(oldcolor);return false;

				$(this).closest("tr").remove();

				$.ajax({

				 type: "POST",

				 url: '<?php echo base_url();?>admin/ajax_remove_colors',

				 data: {aid:aid,oldcols:oldcols,oldcolor:oldcolor,old:old},

				 success: function(res){

					 alert(res);

					var r=res.split('|');

					var r1=r[0];//alert(r[0]);alert(r[1]); 

					alert(r1);

				    $("#oldcols").val(r1);

				// $("#oldcolor").val(r[1]);

				}

				 }); 

			});

			});

</script>

<script type="text/javascript">

function preview_images() 

{

	$('#image_preview').html('');

 var total_file=document.getElementById("tg-photogallery").files.length;

 for(var i=0;i<total_file;i++)

 {

  $('#image_preview').append("<div class='col-md-4'><img class='img-responsive' src='"+URL.createObjectURL(event.target.files[i])+"'></div>");

 }

}



$(window).load(function() 

{$('#input-autocomplete').tagsInput({

		width: 'auto',



	});

})

</script>

		<script src="<?php echo base_url();?>admin_assets/vendor/jquery-browser-mobile/jquery.browser.mobile.js"></script>

		<script src="<?php echo base_url();?>admin_assets/vendor/bootstrap/js/bootstrap.js"></script>

		<script src="<?php echo base_url();?>admin_assets/vendor/nanoscroller/nanoscroller.js"></script>

		<script src="<?php echo base_url();?>admin_assets/vendor/jquery-placeholder/jquery.placeholder.js"></script>

		

		<!-- Theme Base, Components and Settings -->

		<script src="<?php echo base_url();?>admin_assets/javascripts/theme.js"></script>

		

		<!-- Theme Custom -->

		<script src="<?php echo base_url();?>admin_assets/javascripts/theme.custom.js"></script>

		

		<!-- Theme Initialization Files -->

		<script src="<?php echo base_url();?>admin_assets/javascripts/theme.init.js"></script>



	</body>

</html>