Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - X444X TEAM

Pages: [1]
1
Hi:

Reached out to choose themes in the Home page

Using php Code in includes/page_header.php

find

Code: [Select]
$site_template->register_vars($array);
Add after


Code: [Select]
$query_string = '';
if (!empty($HTTP_GET_VARS)) {
foreach ($HTTP_GET_VARS as $key => $val) {
if ($key != "l") {
$query_string .= ($query_string != '' ? '&' : '?').$key."=".$val;
}
}
}
$template_url = $site_sess->url($PHP_SELF.$query_string, '&');
$template_url = preg_replace("/[?|&]l=[^?|&]*/", "", $template_url);
$template_url = str_replace("&", "&", $template_url);
 
$template_select = "<form action=\"".$template_url."\" method=\"post\">\n";
$template_select .= "<select class=\"select\" name=\"l\" onChange=\"this.form.submit();\">\n";
  $handle = @opendir(ROOT_PATH.TEMPLATE_DIR."/".$template_folder);
  while ($folder = @readdir($handle)){
    if (@is_dir(ROOT_PATH.TEMPLATE_DIR."/".$folder) && $folder != "." && $folder != "..") {
$template_select .= "<option value=\"".$folder."\"";
if ($folder == $config['template_dir']) {
$template_select .= " selected=\"selected\"";
}
$template_select .= ">".$folder."</option>\n";
}
}
$template_select .= "</select>\n</form>";
$site_template->register_vars("template_select", $template_select);

Direct Example

http://games.3deeel.com

It Works well

But the theme does not change to the selected

We need anyone who has experience Or previous experience in this programming

Followed the subjects to determine the theme of the special members

But this work  theme for all

So..
Please Help me complete this work to the benefit of everyone

or

 inform me any other file the required work

Regards
X444X TEAM

2
Chit Chat / 4games Powered by 4images
« on: October 07, 2010, 02:48:53 PM »
Hi;
4games Powered by 4images
Wait for your comments about Developments.
Use 4images and add amendments to it .
 turns to 4games
Example
http://games.3deeel.com
 4images version 1.7.8
 With A professional Template (spider man)
introduction a lot of modifications to the files and templates.
Contains all the amendments that have been raised in all previous versions.
Some private developments by X444X TEAM to suit the 4games.
We hope to be fit for display.

Sincerely;
X444X TEAM

Pages: [1]