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 - a4land

Pages: [1]
1
I've got a problem with charset in new version 1.7.2 . Some characters show wrong , for example the category name
At the beginning a thought that this is server problem .
But I tried to upload previous version 1.7.0 ,, with the same template and language pack and the problem doesn't exist

I posted my problem into a attachment (show as a images , easier for me to descript...) , please have a look and please tell me what's the problem here ??
What I should do ?
Thanks so much !!

2
I want to know how many awaiting validation images are there in my album but without login in ADMIN CONTROL PANEL

I tried to put this code into ../album/index.php :
right before
Code: [Select]
include(ROOT_PATH.'includes/page_footer.php');I put this code :
Code: [Select]
//2
 
  $sql = "SELECT COUNT(*) as temp_images
          FROM ".IMAGES_TEMP_TABLE;
  $row = $site_db->query_firstrow($sql);

  $awaiting_validation = preg_replace("/".$site_template->start."num_images".$site_template->end."/siU", $row['temp_images'], $lang['images_awaiting_validation']);
  $awaiting_validation = sprintf("<a href=\"".$site_sess->url("validateimages.php?action=validateimages")."\">%s</a>", $awaiting_validation);
  echo "<center><td width=\"16%\"><b>".$lang['images']."</b></td><td width=\"16%\">".$total_images." / ".$awaiting_validation."</td>\n";
  $size = 0;
  echo "<center><td width=\"16%\"><b>".$lang['thumb_directory']."</b></td><td width=\"16%\">"."</td>\n";
  echo "</tr>";

But the result is : it only appeared on the bottom of index.php page . I want to show it somewhere else in the index page but I can't

Could someone show me how to do this , I mean , put this line : "8 images awaiting validation" into the INDEX page .
Thanks alot !!

3
How to display more than 3 subcategories in the index page ?
Normally , It only shows three subcategories in homepage , like this
(Main category)
    Sub1 , Sub2 , Sub3 ...

How to show more than 3 subcategories under the (Main category)

Thanks !!

Pages: [1]