This page lists files in the current directory. You can view content, get download/execute commands for Wget, Curl, or PowerShell, or filter the list using wildcards (e.g., `*.sh`).
wget 'https://sme10.lists2.roe3.org/mdrone/php_templating_engine/editor.php'
<?php
?>
<head>
<script src="js/jquery-3.3.1.js"></script>
<style>
.tomato
{
color: tomato;
}
</style>
</head>
<?php
$file = 'template_00001.php';
/*
echo nl2br(file_get_contents($file));
*/
$orig = file_get_contents($file);
/*$a = htmlentities($orig);*/
/*
echo '<code>';
echo '<pre>';
echo $a;
echo '</pre>';
echo '</code>';
*/
/*
header("Content-Type: text/plain");
*/
echo '<textarea id="textarea" class="" style="width:100%;height:100%;">';
echo $orig;
echo '</textarea>';
?>
<script>
var $test = $('#textarea').html();
$test = $test.replace(/ar/gi, '<span class="tomato">ar</span>');
$('#textarea').html($test);
</script>
wget 'https://sme10.lists2.roe3.org/mdrone/php_templating_engine/stylesheet.css'
p{
font-size:1rem;
}
p{
font-size:(V->p__fontsize);
font-family:(V->p__fontfamily);
}
wget 'https://sme10.lists2.roe3.org/mdrone/php_templating_engine/stylesheet2.css'
.p__class2{
font-size:(V->p__fontsize);
font-family:(V->p__fontfamily);
color:(S[varname]S);
}
wget 'https://sme10.lists2.roe3.org/mdrone/php_templating_engine/template.html'
<content>
<article>
<button id="{V->php_button__id_var}" class="{V->php_button__class_var}">
<p class="{S[varname]S}">an html file: <br>this p element uses a php session variable in it's class tag.</p>
</button>
<div>
<p class="{V->php_p__class_var}">{V->php_text_var}</p>
</div>
</article>
</content>
wget 'https://sme10.lists2.roe3.org/mdrone/php_templating_engine/template.json'
[
{
"{V->html_id}":
[
{
"{V->html_class}":
[
]
},
{
"div":
[
"{S[varname]S}"
]
},
{
"title":
[
]
}
]
}
]
wget 'https://sme10.lists2.roe3.org/mdrone/php_templating_engine/template.php'
<content>
<article>
<div id="{V->div_id}" class="{V->div_class}">
<p class="{V->p_class}">the wind in the willows</p>
</div>
<button id="{V->button_id}" class="{V->button_class}" onclick="{V->onclick}">
<p class="{S[varname]S}">button for willows</p>
</button>
</article>
</content>
wget 'https://sme10.lists2.roe3.org/mdrone/php_templating_engine/template_00001.html'
<?php ?>
<content>
<div id="{div_id}" class="{div_class}">
<p class="{p_class}">the wind in the willows</p>
</div>
<button id="{button_id}" class="{button_class}" onclick="{onclick}">
<p class="{p_class}">button for willows</p>
</button>
</content>
wget 'https://sme10.lists2.roe3.org/mdrone/php_templating_engine/template_00001.php'
<content>
<article>
<div id="{div_id}" class="{div_class}">
<p class="{p_class}">the wind in the willows</p>
</div>
<button id="{button_id}" class="{button_class}" onclick="{onclick}">
<p class="{S[varname]S}">button for willows</p>
</button>
</article>
</content>
wget 'https://sme10.lists2.roe3.org/mdrone/php_templating_engine/tmp.php'
[
{
"<?= $V->html_id; ?>":
[
{
"<?= $V->html_class; ?>":
[
]
},
{
"div":
[
"<?= $_SESSION['varname']; ?>"
]
},
{
"title":
[
]
}
]
}
]
wget 'https://sme10.lists2.roe3.org/mdrone/php_templating_engine/tmp_001.php'
<?php ?>
<content>
<div id="<?= $div_id; ?>" class="<?= $div_class; ?>">
<p class="<?= $p_class; ?>">the wind in the willows</p>
</div>
<button id="<?= $button_id; ?>" class="<?= $button_class; ?>" onclick="<?= $onclick; ?>">
<p class="<?= $p_class; ?>">button for willows</p>
</button>
</content>
wget 'https://sme10.lists2.roe3.org/mdrone/php_templating_engine/tmp_template_00001.html'
<?php ?><content>
<div id="<?= $div_id; ?>" class="<?= $div_class; ?>">
<p class="<?= $p_class; ?>">the wind in the willows</p>
</div>
<button id="<?= $button_id; ?>" class="<?= $button_class; ?>" onclick="<?= $onclick; ?>">
<p class="<?= $p_class; ?>">button for willows</p>
</button>
</content>tmp_template_00001.html