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.


Messages - te-ga

Pages: [1]
1
Discussion & Troubleshooting / Is anybody there?
« on: January 24, 2003, 03:12:52 PM »
Hello guys!

Will someone please give me a clue what is wrong? Every time I refresh a page I get the same random image shown!

Te-Ga.

2
Discussion & Troubleshooting / Random image is always the same!!!
« on: January 19, 2003, 07:19:27 PM »
Hi!

I have just installed a clean 1.7 Gallery and added 6 photos into 1 category. When run through pages I get the same image shown in Random. Could someone help me please?

Thank you, Te-Ga.

3
Mods & Plugins (Releases & Support) / MOD Tutorial
« on: January 19, 2003, 06:42:00 PM »
Hello guys!!!

I took me about 30 minutes to find out how to intstall this MOD, I tried reading all 3 pages, finally gave up and made a new way of changing files based on the code of Vraxor.

The main file to be changed is top.php. There are 4 sections there named

Code: [Select]
// Rating
// Votes
// Hits
// Downloads


They are all the same, just have different setting for showing photos - Rating sorts images by rating and so on.

So all we need to do is:

1. In each section find:

Code: [Select]
$sql = "SELECT i.image_id, i.user_id, i.cat_id,

at the end of the line ADD:

Code: [Select]
, i.image_thumb_file

Note that you should do this for all 4 sections of the top.php file.

2. After in the //Rating part of the file you should find

Code: [Select]
$register_array['image_rating_number_'.$i]

and add add the new line below this line:

Code: [Select]
$register_array['image_rating_thumb_'.$i] = "<a href=\"".$site_sess->url(ROOT_PATH."details.php?".URL_IMAGE_ID."=".$top_list[$i]['image_id'])."\"><img src=\"data/thumbnails/".$top_list[$i]['cat_id']."/".$top_list[$i]['image_thumb_file']."\" width=\"48\" height=\"36\" border=\"0\" alt=\"\" />";

then find

Code: [Select]
$register_array['image_rating_number_'.$i] = "--";

and add below this line:

Code: [Select]
$register_array['image_rating_thumb_'.$i] = "--";

You are now finished with the //Rating part of the top.php file.

Now you have 3 more parts to finish:

Code: [Select]

// Votes
// Hits
// Downloads


Do the same as stated in 2. but don't forget to change way sorting is done. Just the //Rating part we were adding ['image_rating_thumg_'.$i], so in //Votes part we should add ['image_votes_part_'.$i] and so on. Don't forget to change it all the rest 3 parts!

3. In the top.html file you should add 1 column in the tables and paste this code to the corresponding parts:

Code: [Select]
{image_hits_thumb_1}
{image_downloads_thumb_1}
{image_rating_thumb_1}
{image_votes_thumb_1}


For each new row don't forget to change _1 to _2 and so on...

You can also play with the size of the thumbnails. Just find the width= in your code and put the setting you need.



Hope this helps!!!!


With deep respect to the 4homepages.de Gallery Author and site users,

Te-Ga.

------------------

Just in case you still can't figure out how to change the top.php file I am including the 1.7 version top.php file.


Code: [Select]

<?php
/**************************************************************************
 *                                                                        *
 *    4images - A Web Based Image Gallery Management System               *
 *    ----------------------------------------------------------------    *
 *                                                                        *
 *             File&#58; top.php                                              *
 *        Copyright&#58; &#40;C&#41; 2002 Jan Sorgalla                                *
 *            Email&#58; jan@4homepages.de                                    *
 *              Web&#58; http&#58;//www.4homepages.de                             *
 *    Scriptversion&#58; 1.7                                                  *
 *                                                                        *
 *    Never released without support from&#58; Nicky &#40;http&#58;//www.nicky.net&#41;   *
 *                                                                        *
 **************************************************************************
 *                                                                        *
 *    Dieses Script ist KEINE Freeware. Bitte lesen Sie die Lizenz-       *
 *    bedingungen &#40;Lizenz.txt&#41; für weitere Informationen.                 *
 *    ---------------------------------------------------------------     *
 *    This script is NOT freeware! Please read the Copyright Notice       *
 *    &#40;Licence.txt&#41; for further information.                              *
 *                                                                        *
 *************************************************************************/

$main_template 'top';

define&#40;'GET_CACHES', 1&#41;;
define&#40;'ROOT_PATH', './'&#41;;
include&#40;ROOT_PATH.'global.php'&#41;;
require&#40;ROOT_PATH.'includes/sessions.php'&#41;;
$user_access get_permission&#40;&#41;;
include&#40;ROOT_PATH.'includes/page_header.php'&#41;;

$cat_match_sql = &#40;$cat_id && check_permission&#40;"auth_viewcat", $cat_id&#41;&#41; ? "AND i.cat_id = '$cat_id' " &#58; "";
$register_array = array&#40;&#41;;

$cat_id_sql get_auth_cat_sql&#40;"auth_viewcat", "NOTIN"&#41;;

// Rating
$sql "SELECT i.image_id, i.user_id, i.cat_id, i.image_name, i.image_rating, i.image_votes, c.cat_name".get_user_table_field&#40;", u.", "user_name"&#41;.", i.image_thumb_file
        
FROM ".IMAGES_TABLE." i".CATEGORIES_TABLE." 
        LEFT JOIN 
".USERS_TABLE." u ON &#40;".get_user_table_field&#40;"u.", "user_id"&#41;." = i.user_id&#41; 
        
WHERE i.image_active AND i.cat_id NOT IN &#40;$cat_id_sql&#41; AND i.cat_id = c.cat_id 
        
$cat_match_sql 
        ORDER BY i
.image_rating DESCi.image_name ASC
        LIMIT 10
";
$result = $site_db->query&#40;$sql&#41;;
$top_list = array&#40;&#41;;
$i = 1;
while &#40;
$row = $site_db->fetch_array&#40;$result&#41;&#41; &#123;
  
$top_list[$i&#93; = $row;
  
$i++;
&#125;
$site_db->free_result&#40;&#41;;

for &#40;
$i = 1; $i <= 10; $i++&#41; &#123;
  if &#40;isset&#40;
$top_list[$i&#93;&#41;&#41; &#123;
    
$register_array['image_rating_'.$i&#93; = &#40;check_permission&#40;"auth_viewimage", $top_list[$i&#93;['cat_id'&#93;&#41;&#41; ? "<a href=\"".$site_sess->url&#40;ROOT_PATH."details.php?".URL_IMAGE_ID."=".$top_list[$i&#93;['image_id'&#93;&#41;."\">".htmlspecialchars&#40;$top_list[$i&#93;['image_name'&#93;&#41;."</a>" &#58; htmlspecialchars&#40;$top_list[$i&#93;['image_name'&#93;&#41;;
    
$register_array['image_rating_openwindow_'.$i&#93; = &#40;check_permission&#40;"auth_viewimage", $top_list[$i&#93;['cat_id'&#93;&#41;&#41; ? "<a href=\"".$site_sess->url&#40;ROOT_PATH."details.php?".URL_IMAGE_ID."=".$top_list[$i&#93;['image_id'&#93;&#41;."\" onclick=\"opendetailwindow&#40;&#41;\" target=\"detailwindow\">".htmlspecialchars&#40;$top_list[$i&#93;['image_name'&#93;&#41;."</a>" &#58; htmlspecialchars&#40;$top_list[$i&#93;['image_name'&#93;&#41;;
    
if &#40;isset&#40;$top_list[$i&#93;[$user_table_fields['user_name'&#93;&#93;&#41; && $top_list[$i&#93;['user_id'&#93; != GUEST&#41; &#123;
      
$user_profile_link = &#40;!empty&#40;$url_show_profile&#41;&#41; ? preg_replace&#40;"/&#123;user_id&#125;/", $top_list[$i&#93;['user_id'&#93;, $url_show_profile&#41; &#58; ROOT_PATH."member.php?action=showprofile&amp;".URL_USER_ID."=".$top_list[$i&#93;['user_id'&#93;;
      
$register_array['image_rating_user_'.$i&#93; = "<a href=\"".$site_sess->url&#40;$user_profile_link&#41;."\">".htmlspecialchars&#40;$top_list[$i&#93;[$user_table_fields['user_name'&#93;&#93;&#41;."</a>";
    
&#125;
    
else &#123;
      
$register_array['image_rating_user_'.$i&#93; = $lang['userlevel_guest'&#93;;
    
&#125;
    
$register_array['image_rating_cat_'.$i&#93; = "<a href=\"".$site_sess->url&#40;ROOT_PATH."categories.php?".URL_CAT_ID."=".$top_list[$i&#93;['cat_id'&#93;&#41;."\">".htmlspecialchars&#40;$top_list[$i&#93;['cat_name'&#93;&#41;."</a>";
    
$register_array['image_rating_number_'.$i&#93; = "<b>".$top_list[$i&#93;['image_rating'&#93;."</b> &#40;".$top_list[$i&#93;['image_votes'&#93;." ".$lang['votes'&#93;."&#41;";
    
$register_array['image_rating_thumb_'.$i&#93; = "<a href=\"".$site_sess->url&#40;ROOT_PATH."details.php?".URL_IMAGE_ID."=".$top_list[$i&#93;['image_id'&#93;&#41;."\"><img src=\"data/thumbnails/".$top_list[$i&#93;['cat_id'&#93;."/".$top_list[$i&#93;['image_thumb_file'&#93;."\" width=\"48\" height=\"36\" border=\"0\" alt=\"\" />"; 
  
&#125;
  
else &#123;
    
$register_array['image_rating_'.$i&#93; = "--";
    
$register_array['image_rating_user_'.$i&#93; = "--";
    
$register_array['image_rating_cat_'.$i&#93; = "--";
    
$register_array['image_rating_number_'.$i&#93; = "--";
    
$register_array['image_rating_thumb_'.$i&#93; = "--";
  
&#125;
&#125;

// Votes
$sql "SELECT i.image_id, i.user_id, i.cat_id, i.image_name, i.image_rating, i.image_votes, c.cat_name".get_user_table_field&#40;", u.", "user_name"&#41;.", i.image_thumb_file
        
FROM ".IMAGES_TABLE." i".CATEGORIES_TABLE." 
        LEFT JOIN 
".USERS_TABLE." u ON &#40;".get_user_table_field&#40;"u.", "user_id"&#41;." = i.user_id&#41; 
        
WHERE i.image_active AND i.cat_id NOT IN &#40;$cat_id_sql&#41; AND i.cat_id = c.cat_id 
        
$cat_match_sql 
        ORDER BY i
.image_votes DESCi.image_name ASC 
        LIMIT 10
";
$result = $site_db->query&#40;$sql&#41;;
$top_list = array&#40;&#41;;
$i = 1;
while &#40;
$row = $site_db->fetch_array&#40;$result&#41;&#41; &#123;
  
$top_list[$i&#93; = $row;
  
$i++;
&#125;
$site_db->free_result&#40;&#41;;

for &#40;
$i = 1; $i <= 10; $i++&#41; &#123;
  if &#40;isset&#40;
$top_list[$i&#93;&#41;&#41; &#123;
    
$register_array['image_votes_'.$i&#93; = &#40;check_permission&#40;"auth_viewimage", $top_list[$i&#93;['cat_id'&#93;&#41;&#41; ? "<a href=\"".$site_sess->url&#40;ROOT_PATH."details.php?".URL_IMAGE_ID."=".$top_list[$i&#93;['image_id'&#93;&#41;."\">".htmlspecialchars&#40;$top_list[$i&#93;['image_name'&#93;&#41;."</a>" &#58; htmlspecialchars&#40;$top_list[$i&#93;['image_name'&#93;&#41;;
    
$register_array['image_votes_openwindow_'.$i&#93; = &#40;check_permission&#40;"auth_viewimage", $top_list[$i&#93;['cat_id'&#93;&#41;&#41; ? "<a href=\"".$site_sess->url&#40;ROOT_PATH."details.php?".URL_IMAGE_ID."=".$top_list[$i&#93;['image_id'&#93;&#41;."\" onclick=\"opendetailwindow&#40;&#41;\" target=\"detailwindow\">".htmlspecialchars&#40;$top_list[$i&#93;['image_name'&#93;&#41;."</a>" &#58; htmlspecialchars&#40;$top_list[$i&#93;['image_name'&#93;&#41;;
    
if &#40;isset&#40;$top_list[$i&#93;[$user_table_fields['user_name'&#93;&#93;&#41; && $top_list[$i&#93;['user_id'&#93; != GUEST&#41; &#123;
      
$user_profile_link = &#40;!empty&#40;$url_show_profile&#41;&#41; ? preg_replace&#40;"/&#123;user_id&#125;/", $top_list[$i&#93;['user_id'&#93;, $url_show_profile&#41; &#58; ROOT_PATH."member.php?action=showprofile&amp;".URL_USER_ID."=".$top_list[$i&#93;['user_id'&#93;;
      
$register_array['image_votes_user_'.$i&#93; = "<a href=\"".$site_sess->url&#40;$user_profile_link&#41;."\">".htmlspecialchars&#40;$top_list[$i&#93;[$user_table_fields['user_name'&#93;&#93;&#41;."</a>";
    
&#125;
    
else &#123;
      
$register_array['image_votes_user_'.$i&#93; = $lang['userlevel_guest'&#93;;
    
&#125;
    
$register_array['image_votes_cat_'.$i&#93; = "<a href=\"".$site_sess->url&#40;ROOT_PATH."categories.php?".URL_CAT_ID."=".$top_list[$i&#93;['cat_id'&#93;&#41;."\">".htmlspecialchars&#40;$top_list[$i&#93;['cat_name'&#93;&#41;."</a>";
    
$register_array['image_votes_number_'.$i&#93; = "<b>".$top_list[$i&#93;['image_rating'&#93;."</b> &#40;".$top_list[$i&#93;['image_votes'&#93;." ".$lang['votes'&#93;."&#41;";
    
$register_array['image_votes_thumb_'.$i&#93; = "<a href=\"".$site_sess->url&#40;ROOT_PATH."details.php?".URL_IMAGE_ID."=".$top_list[$i&#93;['image_id'&#93;&#41;."\"><img src=\"data/thumbnails/".$top_list[$i&#93;['cat_id'&#93;."/".$top_list[$i&#93;['image_thumb_file'&#93;."\" width=\"48\" height=\"36\" border=\"0\" alt=\"\" />"; 
  
&#125;
  
else &#123;
    
$register_array['image_votes_'.$i&#93; = "--";
    
$register_array['image_votes_user_'.$i&#93; = "--";
    
$register_array['image_votes_cat_'.$i&#93; = "--";
    
$register_array['image_votes_number_'.$i&#93; = "--";
    
$register_array['image_votes_thumb_'.$i&#93; = "--";
  
&#125;
&#125;

// Hits
$sql "SELECT i.image_id, i.user_id, i.cat_id, i.image_name, i.image_hits, c.cat_name".get_user_table_field&#40;", u.", "user_name"&#41;.", i.image_thumb_file
        
FROM ".IMAGES_TABLE." i".CATEGORIES_TABLE." 
        LEFT JOIN 
".USERS_TABLE." u ON &#40;".get_user_table_field&#40;"u.", "user_id"&#41;." = i.user_id&#41; 
        
WHERE i.image_active AND i.cat_id NOT IN &#40;$cat_id_sql&#41; AND i.cat_id = c.cat_id 
        
$cat_match_sql 
        ORDER BY i
.image_hits DESCi.image_name ASC 
        LIMIT 10
";
$result = $site_db->query&#40;$sql&#41;;
$top_list = array&#40;&#41;;
$i = 1;
while &#40;
$row = $site_db->fetch_array&#40;$result&#41;&#41; &#123;
  
$top_list[$i&#93; = $row;
  
$i++;
&#125;
$site_db->free_result&#40;&#41;;

for &#40;
$i = 1; $i <= 10; $i++&#41; &#123;
  if &#40;isset&#40;
$top_list[$i&#93;&#41;&#41; &#123;
    
$register_array['image_hits_'.$i&#93; = &#40;check_permission&#40;"auth_viewimage", $top_list[$i&#93;['cat_id'&#93;&#41;&#41; ? "<a href=\"".$site_sess->url&#40;ROOT_PATH."details.php?".URL_IMAGE_ID."=".$top_list[$i&#93;['image_id'&#93;&#41;."\">".htmlspecialchars&#40;$top_list[$i&#93;['image_name'&#93;&#41;."</a>" &#58; htmlspecialchars&#40;$top_list[$i&#93;['image_name'&#93;&#41;;
    
$register_array['image_hits_openwindow_'.$i&#93; = &#40;check_permission&#40;"auth_viewimage", $top_list[$i&#93;['cat_id'&#93;&#41;&#41; ? "<a href=\"".$site_sess->url&#40;ROOT_PATH."details.php?".URL_IMAGE_ID."=".$top_list[$i&#93;['image_id'&#93;&#41;."\" onclick=\"opendetailwindow&#40;&#41;\" target=\"detailwindow\">".htmlspecialchars&#40;$top_list[$i&#93;['image_name'&#93;&#41;."</a>" &#58; htmlspecialchars&#40;$top_list[$i&#93;['image_name'&#93;&#41;;
    
if &#40;isset&#40;$top_list[$i&#93;[$user_table_fields['user_name'&#93;&#93;&#41; && $top_list[$i&#93;['user_id'&#93; != GUEST&#41; &#123;
      
$user_profile_link = &#40;!empty&#40;$url_show_profile&#41;&#41; ? preg_replace&#40;"/&#123;user_id&#125;/", $top_list[$i&#93;['user_id'&#93;, $url_show_profile&#41; &#58; ROOT_PATH."member.php?action=showprofile&amp;".URL_USER_ID."=".$top_list[$i&#93;['user_id'&#93;;
      
$register_array['image_hits_user_'.$i&#93; = "<a href=\"".$site_sess->url&#40;$user_profile_link&#41;."\">".htmlspecialchars&#40;$top_list[$i&#93;[$user_table_fields['user_name'&#93;&#93;&#41;."</a>";
    
&#125;
    
else &#123;
      
$register_array['image_hits_user_'.$i&#93; = $lang['userlevel_guest'&#93;;
    
&#125;
    
$register_array['image_hits_cat_'.$i&#93; = "<a href=\"".$site_sess->url&#40;ROOT_PATH."categories.php?".URL_CAT_ID."=".$top_list[$i&#93;['cat_id'&#93;&#41;."\">".htmlspecialchars&#40;$top_list[$i&#93;['cat_name'&#93;&#41;."</a>";
    
$register_array['image_hits_number_'.$i&#93; = "<b>".$top_list[$i&#93;['image_hits'&#93;."</b>";
    
$register_array['image_hits_thumb_'.$i&#93; = "<a href=\"".$site_sess->url&#40;ROOT_PATH."details.php?".URL_IMAGE_ID."=".$top_list[$i&#93;['image_id'&#93;&#41;."\"><img src=\"data/thumbnails/".$top_list[$i&#93;['cat_id'&#93;."/".$top_list[$i&#93;['image_thumb_file'&#93;."\" width=\"48\" height=\"36\" border=\"0\" alt=\"\" />"; 
  
&#125;
  
else &#123;
    
$register_array['image_hits_'.$i&#93; = "--";
    
$register_array['image_hits_user_'.$i&#93; = "--";
    
$register_array['image_hits_cat_'.$i&#93; = "--";
    
$register_array['image_hits_number_'.$i&#93; = "--";
    
$register_array['image_hits_thumb_'.$i&#93; = "--";
  
&#125;
&#125;

// Downloads
$sql "SELECT i.image_id, i.user_id, i.cat_id, i.image_name, i.image_downloads, c.cat_name".get_user_table_field&#40;", u.", "user_name"&#41;.", i.image_thumb_file
        
FROM ".IMAGES_TABLE." i".CATEGORIES_TABLE." 
        LEFT JOIN 
".USERS_TABLE." u ON &#40;".get_user_table_field&#40;"u.", "user_id"&#41;." = i.user_id&#41; 
        
WHERE i.image_active AND i.cat_id NOT IN &#40;$cat_id_sql&#41; AND i.cat_id = c.cat_id 
        
$cat_match_sql 
        ORDER BY i
.image_downloads DESCi.image_name ASC 
        LIMIT 10
";
$result = $site_db->query&#40;$sql&#41;;
$top_list = array&#40;&#41;;
$i = 1;
while &#40;
$row = $site_db->fetch_array&#40;$result&#41;&#41; &#123;
  
$top_list[$i&#93; = $row;
  
$i++;
&#125;
$site_db->free_result&#40;&#41;;

for &#40;
$i = 1; $i <= 10; $i++&#41; &#123;
  if &#40;isset&#40;
$top_list[$i&#93;&#41;&#41; &#123;
    
$register_array['image_downloads_'.$i&#93; = &#40;check_permission&#40;"auth_viewimage", $top_list[$i&#93;['cat_id'&#93;&#41;&#41; ? "<a href=\"".$site_sess->url&#40;ROOT_PATH."details.php?".URL_IMAGE_ID."=".$top_list[$i&#93;['image_id'&#93;&#41;."\">".htmlspecialchars&#40;$top_list[$i&#93;['image_name'&#93;&#41;."</a>" &#58; htmlspecialchars&#40;$top_list[$i&#93;['image_name'&#93;&#41;;
    
$register_array['image_downloads_openwindow_'.$i&#93; = &#40;check_permission&#40;"auth_viewimage", $top_list[$i&#93;['cat_id'&#93;&#41;&#41; ? "<a href=\"".$site_sess->url&#40;ROOT_PATH."details.php?".URL_IMAGE_ID."=".$top_list[$i&#93;['image_id'&#93;&#41;."\" onclick=\"opendetailwindow&#40;&#41;\" target=\"detailwindow\">".htmlspecialchars&#40;$top_list[$i&#93;['image_name'&#93;&#41;."</a>" &#58; htmlspecialchars&#40;$top_list[$i&#93;['image_name'&#93;&#41;;
    
if &#40;isset&#40;$top_list[$i&#93;[$user_table_fields['user_name'&#93;&#93;&#41; && $top_list[$i&#93;['user_id'&#93; != GUEST&#41; &#123;
      
$user_profile_link = &#40;!empty&#40;$url_show_profile&#41;&#41; ? preg_replace&#40;"/&#123;user_id&#125;/", $top_list[$i&#93;['user_id'&#93;, $url_show_profile&#41; &#58; ROOT_PATH."member.php?action=showprofile&amp;".URL_USER_ID."=".$top_list[$i&#93;['user_id'&#93;;
      
$register_array['image_downloads_user_'.$i&#93; = "<a href=\"".$site_sess->url&#40;$user_profile_link&#41;."\">".htmlspecialchars&#40;$top_list[$i&#93;[$user_table_fields['user_name'&#93;&#93;&#41;."</a>";
    
&#125;
    
else &#123;
      
$register_array['image_downloads_user_'.$i&#93; = $lang['userlevel_guest'&#93;;
    
&#125;
    
$register_array['image_downloads_cat_'.$i&#93; = "<a href=\"".$site_sess->url&#40;ROOT_PATH."categories.php?".URL_CAT_ID."=".$top_list[$i&#93;['cat_id'&#93;&#41;."\">".htmlspecialchars&#40;$top_list[$i&#93;['cat_name'&#93;&#41;."</a>";
    
$register_array['image_downloads_number_'.$i&#93; = "<b>".$top_list[$i&#93;['image_downloads'&#93;."</b>";
    
$register_array['image_downloads_thumb_'.$i&#93; = "<a href=\"".$site_sess->url&#40;ROOT_PATH."details.php?".URL_IMAGE_ID."=".$top_list[$i&#93;['image_id'&#93;&#41;."\"><img src=\"data/thumbnails/".$top_list[$i&#93;['cat_id'&#93;."/".$top_list[$i&#93;['image_thumb_file'&#93;."\" width=\"48\" height=\"36\" border=\"0\" alt=\"\" />"; 
  
&#125;
  
else &#123;
    
$register_array['image_downloads_'.$i&#93; = "--";
    
$register_array['image_downloads_user_'.$i&#93; = "--";
    
$register_array['image_downloads_cat_'.$i&#93; = "--";
    
$register_array['image_downloads_number_'.$i&#93; = "--";
    
$register_array['image_downloads_thumb_'.$i&#93; = "--";
    
  
&#125;
&#125;

$site_template->register_vars&#40;$register_array&#41;;

//-----------------------------------------------------
//--- Clickstream -------------------------------------
//-----------------------------------------------------
$clickstream "<span><a href=\"".$site_sess->url&#40;ROOT_PATH."index.php"&#41;."\">".$lang['home'&#93;."</a>".$config['category_separator'&#93;;
if &#40;$cat_id && isset&#40;$cat_cache[$cat_id&#93;&#41;&#41; &#123;
  
$clickstream .= get_category_path&#40;$cat_id, 1&#41;.$config['category_separator'&#93;;
&#125;
$clickstream .= $lang['top_images'&#93;."</span>";

//-----------------------------------------------------
//--- Print Out ---------------------------------------
//-----------------------------------------------------
$site_template->register_vars&#40;array&#40;
  
"msg" => $msg,
  
"clickstream" => $clickstream,
  
"lang_top_image_hits" => $lang['top_image_hits'&#93;,
  
"lang_top_image_downloads" => $lang['top_image_downloads'&#93;,
  
"lang_top_image_rating" => $lang['top_image_rating'&#93;,
  
"lang_top_image_votes" => $lang['top_image_votes'&#93;
&#41;&#41;;
$site_template->print_template&#40;$site_template->parse_template&#40;$main_template&#41;&#41;;
include&#40;ROOT_PATH.'includes/page_footer.php'&#41;;
?>


Pages: [1]