Anyone wouldn't happen to have a copy of the most recent web build would they?
I don't mean the number
63_1dc60c6d6ea6e089c6893ab4e0541ee0/1743
Like the actual web gallery (images/css/js,etc)
If you do could you link me or something before I go and waste time constructing my own ^-^
Should work a charm although I do suggest templating engines such as Smarty or rainTPL.
<?php
class AvalozTemplate
{
private $params = Array();
private $filter;
private $dir = 'system/template';
public function setDir($dir)
{...
Yer str_ireplace was off a little, I'm still not sure where you're getting the file to be parsed from in that class but that fixed the code (I think)
<?php
################################################
# Template System - Created By GarettMcCarty...
You really shouldn't be suppressing errors with the '@' as you need to know what the errors are during development, so instead allow all the errors and just before release add <?php error_reporting(0); ?> to the core file :D
Rather than that I hope this get's finished and you start using PDO...
Yeah just search the index and register for a file they both require, usually global and add that code in there at the bottom. Any other exploits would be put in there intentially and thus you'd have to remove them manually
I don't really see why you have all that loool.
To avoid injections just add
foreach($_GET as $key => $value){
$_GET[$key]=mysql_real_escape_string(stripslashes(htmlspecialchars($value)));
}
foreach($_POST as $key => $value){...
If you have like all your parameters in an array like
<?php
$params = Array('one' => '1', 'two' => '2');
foreach($params as $value => $replace)
{
$class->Assign($value, $replace);
}
?>
It should work
Use substr to limit how much it shows!
Example of use:
<?php
$string = 'really long string of text and such that people will get to view when they click read MOAR and read MOAR so I get MOAR views and shit';
//Will return really long string of text...
echo substr($string,0,25) ...
It still has files that say radipanel in the _frontend dir, why should I believe that this isn't a complete rip >< (noting I've never donloaded radipanel
Just a suggestion, for a better base you should use like joopies mysqli class and a template engine such as smarty or raintpl :3 (If you decide to do that and need help feel free to pm me)