Not Solved [Theme] Admin Stop Final
#5
Not Solved
krneki Wrote:Hello. I tried your theme. It looks very nice but I get this error !

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in D:\wamp\www\mb\global.php(266) : eval()'d code on line 77

and menu is not showing !

If you can check it out it would be nice Smile

inc/functions.php
Find:
//
// Outputs the contents of a page rendering variables
//
Add Under:
//
function iif($expression, $returntrue, $returnfalse = '')
{
return ($expression ? $returntrue : $returnfalse);
}
//

inc/class_templates.php
Find:
$template = str_replace("\\'", "'", addslashes($template));
Add Under:
$template=str_replace("<if condition=","\".iif(",$template);
$template=str_replace("<then>",",\"",$template);
$template=str_replace("<else />","\",\"",$template);
$template=str_replace("</if>","\").\"",$template);


Edit the files accordingly for the skin to work.
Reply


Messages In This Thread
[Theme] Admin Stop Final - by willow - 2006-06-17, 02:23 AM
RE: [Theme] Admin Stop Final - by - 2006-06-17, 03:22 AM
RE: [Theme] Admin Stop Final - by willow - 2006-06-17, 03:28 AM
RE: [Theme] Admin Stop Final - by krneki - 2006-06-22, 02:39 PM
RE: [Theme] Admin Stop Final - by - 2006-06-22, 03:58 PM
RE: [Theme] Admin Stop Final - by Kodaks - 2006-06-22, 04:01 PM
RE: [Theme] Admin Stop Final - by - 2006-06-22, 06:29 PM
RE: [Theme] Admin Stop Final - by Protoman - 2006-06-23, 01:26 PM
RE: [Theme] Admin Stop Final - by - 2006-06-23, 09:51 PM
RE: [Theme] Admin Stop Final - by Protoman - 2006-06-23, 10:54 PM
RE: [Theme] Admin Stop Final - by devnet - 2006-06-23, 03:42 PM
RE: [Theme] Admin Stop Final - by krneki - 2006-06-22, 04:04 PM
RE: [Theme] Admin Stop Final - by krneki - 2006-06-22, 04:05 PM
RE: [Theme] Admin Stop Final - by IMPAQ - 2006-06-22, 06:40 PM
RE: [Theme] Admin Stop Final - by willow - 2006-06-23, 08:27 AM
RE: [Theme] Admin Stop Final - by krneki - 2006-06-23, 01:20 PM
RE: [Theme] Admin Stop Final - by willow - 2006-06-23, 02:51 PM
RE: [Theme] Admin Stop Final - by Protoman - 2006-06-23, 03:00 PM
RE: [Theme] Admin Stop Final - by Protoman - 2006-06-23, 03:47 PM
RE: [Theme] Admin Stop Final - by hotrod1 - 2006-06-23, 07:06 PM
RE: [Theme] Admin Stop Final - by Kodaks - 2006-06-23, 11:12 PM
RE: [Theme] Admin Stop Final - by willow - 2006-06-24, 12:48 AM
RE: [Theme] Admin Stop Final - by Protoman - 2006-06-24, 12:26 PM
RE: [Theme] Admin Stop Final - by - 2006-06-24, 02:34 AM
RE: [Theme] Admin Stop Final - by willow - 2006-06-24, 12:33 PM
RE: [Theme] Admin Stop Final - by TurKManiA - 2006-06-24, 12:38 PM
RE: [Theme] Admin Stop Final - by streryan - 2006-06-24, 12:54 PM
RE: [Theme] Admin Stop Final - by krneki - 2006-06-24, 01:28 PM
RE: [Theme] Admin Stop Final - by streryan - 2006-06-24, 02:44 PM
RE: [Theme] Admin Stop Final - by willow - 2006-06-25, 01:12 AM
RE: [Theme] Admin Stop Final - by Martin M. - 2006-06-25, 01:29 AM
RE: [Theme] Admin Stop Final - by willow - 2006-06-25, 01:31 AM
RE: [Theme] Admin Stop Final - by NSH - 2006-06-25, 10:16 AM
RE: [Theme] Admin Stop Final - by willow - 2006-06-25, 11:42 AM
RE: [Theme] Admin Stop Final - by streryan - 2006-06-25, 05:15 PM
RE: [Theme] Admin Stop Final - by - 2006-06-26, 02:40 AM
RE:[Theme] Admin Stop Final - by streryan - 2006-06-26, 01:24 PM
RE: [Theme] Admin Stop Final - by - 2006-06-27, 07:31 AM
RE:[Theme] Admin Stop Final - by streryan - 2006-06-27, 04:09 PM
RE: [Theme] Admin Stop Final - by willow - 2006-06-30, 05:42 AM
RE: [Theme] Admin Stop Final - by Dennis Tsang - 2006-06-30, 06:54 AM
RE: [Theme] Admin Stop Final - by willow - 2006-06-30, 07:13 AM
RE: [Theme] Admin Stop Final - by JakeS - 2006-07-12, 09:17 AM
RE: [Theme] Admin Stop Final - by willow - 2006-07-15, 09:02 AM
RE: [Theme] Admin Stop Final - by Dark CMX - 2006-07-22, 10:56 PM
RE: [Theme] Admin Stop Final - by AndyM3 - 2006-07-23, 12:36 AM
RE: [Theme] Admin Stop Final - by Dark CMX - 2006-07-23, 01:39 AM
RE: [Theme] Admin Stop Final - by willow - 2006-07-28, 10:01 AM
RE: [Theme] Admin Stop Final - by willow - 2006-07-28, 11:03 PM
RE: [Theme] Admin Stop Final - by - 2006-07-29, 12:45 PM
RE: [Theme] Admin Stop Final - by willow - 2006-07-29, 01:54 PM
RE: [Theme] Admin Stop Final - by - 2006-07-29, 03:30 PM
RE: [Theme] Admin Stop Final - by krneki - 2006-07-29, 05:08 PM
RE: [Theme] Admin Stop Final - by - 2006-07-29, 05:41 PM
RE: [Theme] Admin Stop Final - by willow - 2006-07-29, 10:28 PM
RE: [Theme] Admin Stop Final - by - 2006-08-04, 03:10 PM
RE: [Theme] Admin Stop Final - by willow - 2006-08-04, 10:21 PM
RE: [Theme] Admin Stop Final - by danfef - 2006-08-12, 11:43 PM
RE: [Theme] Admin Stop Final - by willow - 2006-08-13, 12:06 AM
RE: [Theme] Admin Stop Final - by danfef - 2006-08-13, 12:08 AM
RE: [Theme] Admin Stop Final - by willow - 2006-08-13, 12:11 AM
RE: [Theme] Admin Stop Final - by danfef - 2006-08-13, 12:25 AM
RE: [Theme] Admin Stop Final - by willow - 2006-08-13, 12:26 AM
RE: [Theme] Admin Stop Final - by danfef - 2006-08-13, 12:28 AM
RE: [Theme] Admin Stop Final - by willow - 2006-08-13, 12:29 AM
RE: [Theme] Admin Stop Final - by danfef - 2006-08-13, 12:32 AM
RE: [Theme] Admin Stop Final - by willow - 2006-08-13, 12:37 AM
RE: [Theme] Admin Stop Final - by danfef - 2006-08-13, 12:47 AM
RE: [Theme] Admin Stop Final - by Jag100 - 2006-08-15, 02:03 PM
RE: [Theme] Admin Stop Final - by willow - 2006-08-15, 09:39 PM
RE:  [Theme] Admin Stop Final - by Jag100 - 2006-08-16, 09:04 AM
RE: [Theme] Admin Stop Final - by - 2006-08-15, 10:56 PM
RE: [Theme] Admin Stop Final - by willow - 2006-08-16, 06:36 AM
RE: [Theme] Admin Stop Final - by - 2006-08-16, 07:00 AM
RE: [Theme] Admin Stop Final - by willow - 2006-08-16, 09:07 AM
RE: [Theme] Admin Stop Final - by willow - 2006-08-24, 09:03 PM
RE: [Theme] Admin Stop Final - by willow - 2006-09-03, 09:00 AM
RE: [Theme] Admin Stop Final - by streryan - 2006-09-03, 01:21 PM
RE: [Theme] Admin Stop Final - by willow - 2006-09-04, 06:33 AM
RE: [Theme] Admin Stop Final - by willow - 2006-09-04, 06:34 AM
RE: [Theme] Admin Stop Final - by NİGHTMARE - 2006-09-05, 12:22 PM
RE: [Theme] Admin Stop Final - by Orry Verducci - 2006-09-10, 08:44 PM
RE: [Theme] Admin Stop Final - by willow - 2006-09-14, 01:06 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)