Author Topic: zwei spalten neue Bilder auf home möglich?  (Read 75904 times)

0 Members and 1 Guest are viewing this topic.

Rembrandt

  • Guest
Re: zwei spalten neue Bilder auf home möglich?
« Reply #45 on: July 15, 2009, 07:53:16 PM »
SORRY!

Offline neverkas

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
    • FullPosteo
Re: zwei spalten neue Bilder auf home möglich?
« Reply #46 on: July 15, 2009, 08:01:32 PM »
not fix
in {new_images} photos and videos
in {new_images2} photos


why?
http://www.fullposteo.com.ar/



La nueva forma de compartir tus fotos y vídeos con tus amigos!

The new form to share photos and videos width your friends!

Rembrandt

  • Guest
Re: zwei spalten neue Bilder auf home möglich?
« Reply #47 on: July 15, 2009, 08:20:09 PM »
in ACP
Categorie Setting, insert CAT_ID numbers??

Offline neverkas

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
    • FullPosteo
Re: zwei spalten neue Bilder auf home möglich?
« Reply #48 on: July 15, 2009, 08:24:40 PM »
in ACP
Categorie Setting, insert CAT_ID numbers??

I can explain in more words than that done?

Excuse me, but I do not understand that that part of "insert CAT_ID numbers" which happens when you enter the number?

I enter in ACP, but I do not know what to do " insert CAT_ID numbers"
http://www.fullposteo.com.ar/



La nueva forma de compartir tus fotos y vídeos con tus amigos!

The new form to share photos and videos width your friends!

Rembrandt

  • Guest
Re: zwei spalten neue Bilder auf home möglich?
« Reply #49 on: July 15, 2009, 08:26:40 PM »
in ACP
Categorie Setting, insert CAT_ID numbers??

I can explain in more words than that done?

Excuse me, but I do not understand that that part of "insert CAT_ID numbers" which happens when you enter the number?

insert the cat_id numbers where the videos

Offline neverkas

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
    • FullPosteo
Re: zwei spalten neue Bilder auf home möglich?
« Reply #50 on: July 15, 2009, 08:29:46 PM »
Ah ...!
I put the number of categories that I have.
To put all the videos of all categories?

or what number i insert?

EDIT:
Please put me say that number? Because I'm not understanding.!
My site is www.fullposteo.com.ar

Please, I say?  :(
http://www.fullposteo.com.ar/



La nueva forma de compartir tus fotos y vídeos con tus amigos!

The new form to share photos and videos width your friends!

Rembrandt

  • Guest
Re: zwei spalten neue Bilder auf home möglich?
« Reply #51 on: July 15, 2009, 08:41:05 PM »
Ah ...!
I put the number of categories that I have.
you have videos in Cat_id 3
write 3 in the new field!

have you videos in Cat_ID 3 and Cat_id 7 and in Cat_id 35 and in Cat_ID 3465

write 3,7,35,3465 in the new field.

so sorry, i give up

maybe you can help someone else.

mfg Andi



Offline neverkas

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
    • FullPosteo
Re: zwei spalten neue Bilder auf home möglich?
« Reply #52 on: July 15, 2009, 08:49:10 PM »
My problem is:
* In {new_images} doesn't appears the new photos.
* In {new_images2} appears the new photos and videos



I have put the number 3 in ACP, of the modification "admin/setting.php" and  "lang/spanish/admin.php"


I wont it to appear like this:
{new_images} only photos
{new_images2} only videos

I have modified the file "Index.php", because "Schnick und Schnack" code is going well.
I have the same but mine doesn't function well, whats the problem?

My index.php  original modified width http://www.4homepages.de/forum/index.php?topic=25131.0
Code: [Select]
<?php
/**************************************************************************
 *                                                                        *
 *    4images - A Web Based Image Gallery Management System               *
 *    ----------------------------------------------------------------    *
 *                                                                        *
 *             File: index.php                                            *
 *        Copyright: (C) 2002-2009 Jan Sorgalla                           *
 *            Email: jan@4homepages.de                                    * 
 *              Web: http://www.4homepages.de                             * 
 *    Scriptversion: 1.7.7                                                *
 *                                                                        *
 *    Never released without support from: Nicky (http://www.nicky.net)   *
 *                                                                        *
 **************************************************************************
 *                                                                        *
 *    Dieses Script ist KEINE Freeware. Bitte lesen Sie die Lizenz-       *
 *    bedingungen (Lizenz.txt) für weitere Informationen.                 *
 *    ---------------------------------------------------------------     *
 *    This script is NOT freeware! Please read the Copyright Notice       *
 *    (Licence.txt) for further information.                              *
 *                                                                        *
 *************************************************************************/

$templates_used 'home,category_bit,whos_online,thumbnail_bit';
$main_template 'home';

define('GET_CACHES'1);
define('ROOT_PATH''./');
define('GET_USER_ONLINE'1);
include(
ROOT_PATH.'global.php');
require(
ROOT_PATH.'includes/sessions.php');
include(
ROOT_PATH.'includes/stats.php'); 
$user_access get_permission();

if (isset(
$HTTP_GET_VARS['go']) || isset($HTTP_POST_VARS['go'])) {
  
$template = (isset($HTTP_GET_VARS['go'])) ? get_basefile(stripslashes($HTTP_GET_VARS['go'])) : get_basefile(stripslashes($HTTP_POST_VARS['go']));
  if (!
file_exists(TEMPLATE_PATH."/".$template.".".$site_template->template_extension)) {
    
$template "";
  }
  else {
    
$main_template $template;
  }
}
else {
  
$template "";
}
include(
ROOT_PATH.'includes/page_header.php');

if (!empty(
$template)) {
  
$clickstream "<a href=\"".$site_sess->url(ROOT_PATH."index.php")."\">".$lang['home']."</a>".$config['category_separator'].str_replace("_"" "ucfirst($template));
  
$site_template->register_vars("clickstream"$clickstream);
  
$site_template->print_template($site_template->parse_template($main_template));
  include(
ROOT_PATH.'includes/page_footer.php');
}

$cache_id create_cache_id(
  
'page.index',
  array(
    
$user_info[$user_table_fields['user_id']],
    isset(
$user_info['lightbox_image_ids']) ? substr(md5($user_info['lightbox_image_ids']), 08) : 0,
    
$config['template_dir'],
    
$config['language_dir']
  )
);

if (!
$cache_page_index || !$content get_cache_file($cache_id)) {
// Always append session id if cache is enabled
if ($cache_page_index) {
  
$old_session_mode $site_sess->mode;
  
$site_sess->mode 'get';
}

ob_start();

//-----------------------------------------------------
//--- Show Categories ---------------------------------
//-----------------------------------------------------
$categories get_categories(0);
if (!
$categories)  {
  
$categories $lang['no_categories'];
}
$site_template->register_vars("categories"$categories);
unset(
$categories);

//-----------------------------------------------------
//--- Show New Images ---------------------------------
//-----------------------------------------------------
$site_template->register_vars(array(
  
"has_rss"   => true,
  
"rss_title" => "RSS Feed: ".format_text($config['site_name'], 2)." (".str_replace(':'''$lang['new_images']).")",
  
"rss_url"   => $script_url."/rss.php?action=images"
));

$imgtable_width ceil(intval($config['image_table_width']) / $config['image_cells']);
if ((
substr($config['image_table_width'], -1)) == "%") {
  
$imgtable_width .= "%";
}

$additional_sql "";
if (!empty(
$additional_image_fields)) {
  foreach (
$additional_image_fields as $key => $val) {
    
$additional_sql .= ", i.".$key;
  }

$sql "SELECT  setting_value as cat_rand_pic FROM ".SETTINGS_TABLE." WHERE setting_name = 'cat_rand_pic'";
    
$result $site_db->query($sql); $row mysql_fetch_object($result);
      
$cat_in $row->cat_rand_pic;
$cat_total str_replace(",","','",$cat_in);
//--------------------------------------- Start Total Hits Foto --------------------------------------------------
  
$sql "SELECT SUM(image_hits) AS sum
             FROM "
.IMAGES_TABLE."
             WHERE cat_id IN ('
$cat_total')";
  
$row $site_db->query_firstrow($sql);
  
$sum = (isset($row['sum'])) ? $row['sum'] : 0;
  
$total_hits_foto "".$lang['total_hits_foto']."<B> ".$row['sum']."</B>\n";
  
$site_template->register_vars("total_hits_foto"$total_hits_foto);
//--------------------------------------- End Total Hits Foto -------------------------------------------------- 
$sql "SELECT SUM(image_hits) AS sum
            FROM "
.IMAGES_TABLE."
            WHERE cat_id NOT IN ('
$cat_total')";
  
$row $site_db->query_firstrow($sql);
  
$sum = (isset($row['sum'])) ? $row['sum'] : 0;
  
$total_hits_video "".$lang['total_hits_video']."<B> ".$row['sum']."</B>\n";
  
$site_template->register_vars("total_hits_video"$total_hits_video);
//--------------------------------------- End Total Hits Video --------------------------------------------------
$num_new_images $config['image_cells'];
$sql "SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_description, i.image_keywords, i.image_date, i.image_active, i.image_media_file, i.image_thumb_file, i.image_download_url, i.image_allow_comments, i.image_comments, i.image_downloads, i.image_votes, i.image_rating, i.image_hits".$additional_sql.", c.cat_name".get_user_table_field(", u.""user_name")."
        FROM ("
.IMAGES_TABLE." i,  ".CATEGORIES_TABLE." c)
        LEFT JOIN "
.USERS_TABLE." u ON (".get_user_table_field("u.""user_id")." = i.user_id)
        WHERE i.image_active = 1 AND c.cat_id = i.cat_id AND i.cat_id NOT IN ("
.get_auth_cat_sql("auth_viewcat""NOTIN").")AND i.cat_id IN (".$cat_in.")
        ORDER BY i.image_date DESC
        LIMIT 
$num_new_images";
$result $site_db->query($sql);
$num_rows $site_db->get_numrows($result);

if (!
$num_rows)  {
  
$new_images "<table width=\"".$config['image_table_width']."\" border=\"0\" cellpadding=\"".$config['image_table_cellpadding']."\" cellspacing=\"".$config['image_table_cellspacing']."\"><tr class=\"imagerow1\"><td>";
  
$new_images .= $lang['no_new_images'];
  
$new_images .= "</td></tr></table>";
}
else  {
  
$new_images "<table width=\"".$config['image_table_width']."\" border=\"0\" cellpadding=\"".$config['image_table_cellpadding']."\" cellspacing=\"".$config['image_table_cellspacing']."\">";
  
$count 0;
  
$bgcounter 0;
  while (
$image_row $site_db->fetch_array($result)){
    if (
$count == 0) {
      
$row_bg_number = ($bgcounter++ % == 0) ? 2;
      
$new_images .= "<tr class=\"imagerow".$row_bg_number."\">\n";
    }
    
$new_images .= "<td width=\"".$imgtable_width."\" valign=\"top\">\n";

    
show_image($image_row);
    
$new_images .= $site_template->parse_template("thumbnail_bit");
    
$new_images .= "\n</td>\n";
    
$count++;
    if (
$count == $config['image_cells']) {
      
$new_images .= "</tr>\n";
      
$count 0;
    }
  } 
// end while

  
if ($count 0)  {
    
$leftover = ($config['image_cells'] - $count);
    if (
$leftover >= 1) {
      for (
$f 0$f $leftover$f++) {
        
$new_images .= "<td width=\"".$imgtable_width."\">\n&nbsp;\n</td>\n";
      }
      
$new_images .= "</tr>\n";
    }
  }
  
$new_images .= "</table>\n";
// end else

$site_template->register_vars("new_images"$new_images);
unset(
$new_images);

//--------------------------------- Start cat select pic2 ---------------------------------
//$num_new_images = $config['image_cells'];

$sql "SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_description, i.image_keywords, i.image_date, i.image_active, i.image_media_file, i.image_thumb_file, i.image_download_url, i.image_allow_comments, i.image_comments, i.image_downloads, i.image_votes, i.image_rating, i.image_hits".$additional_sql.", c.cat_name".get_user_table_field(", u.""user_name")."
        FROM ("
.IMAGES_TABLE." i,  ".CATEGORIES_TABLE." c)
        LEFT JOIN "
.USERS_TABLE." u ON (".get_user_table_field("u.""user_id")." = i.user_id)
        WHERE i.image_active = 1 AND c.cat_id = i.cat_id AND i.cat_id NOT IN ("
.get_auth_cat_sql("auth_viewcat""NOTIN").")AND i.cat_id NOT IN (".$cat_in.")
        ORDER BY i.image_date DESC
        LIMIT 
$num_new_images";
$result $site_db->query($sql);
$num_rows2 $site_db->get_numrows($result);

if (!
$num_rows2)  {
  
$new_images2 "<table width=\"".$config['image_table_width']."\" border=\"0\" cellpadding=\"".$config['image_table_cellpadding']."\" cellspacing=\"".$config['image_table_cellspacing']."\"><tr class=\"imagerow1\"><td>";
  
$new_images2 .= $lang['no_new_images'];
  
$new_images2 .= "</td></tr></table>";
}
else  {
  
$new_images2 "<table width=\"".$config['image_table_width']."\" border=\"0\" cellpadding=\"".$config['image_table_cellpadding']."\" cellspacing=\"".$config['image_table_cellspacing']."\">";
  
$count 0;
  
$bgcounter 0;
  while (
$image_row $site_db->fetch_array($result)){
    if (
$count == 0) {
      
$row_bg_number = ($bgcounter++ % == 0) ? 2;
      
$new_images2 .= "<tr class=\"imagerow".$row_bg_number."\">\n";
    }
    
$new_images2 .= "<td width=\"".$imgtable_width."\" valign=\"top\">\n";

    
show_image($image_row);
    
$new_images2 .= $site_template->parse_template("thumbnail_bit");
    
$new_images2 .= "\n</td>\n";
    
$count++;
    if (
$count == $config['image_cells']) {
      
$new_images2 .= "</tr>\n";
      
$count 0;
    }
  } 
// end while

  
if ($count 0)  {
    
$leftover = ($config['image_cells'] - $count);
    if (
$leftover >= 1) {
      for (
$f 0$f $leftover$f++) {
        
$new_images2 .= "<td width=\"".$imgtable_width."\">\n&nbsp;\n</td>\n";
      }
      
$new_images2 .= "</tr>\n";
    }
  }
  
$new_images2 .= "</table>\n";
// end else

$site_template->register_vars("new_images2"$new_images2);
unset(
$new_images2);
//--------------------------------- End cat select pic ---------------------------------

$site_template->register_vars(array(
  
"msg" => $msg,
  
"clickstream" => $clickstream
));
$site_template->print_template($site_template->parse_template($main_template));

$content ob_get_contents();
ob_end_clean();

if (
$cache_page_index) {
  
// Reset session mode
  
$site_sess->mode $old_session_mode;

  
save_cache_file($cache_id$content);
}

// end if get_cache_file()

echo $content;

include(
ROOT_PATH.'includes/page_footer.php');
?>

   
« Last Edit: July 16, 2009, 03:52:14 AM by neverkas »
http://www.fullposteo.com.ar/



La nueva forma de compartir tus fotos y vídeos con tus amigos!

The new form to share photos and videos width your friends!

Rembrandt

  • Guest
Re: zwei spalten neue Bilder auf home möglich?
« Reply #53 on: July 16, 2009, 03:51:35 PM »
...
I have the same but mine doesn't function well, whats the problem?...
This version works for you not !

Yesterday I postet the correct version for you but you ignore that

http://www.4homepages.de/forum/index.php?topic=25131.msg138657#msg138657

Offline neverkas

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
    • FullPosteo
Re: zwei spalten neue Bilder auf home möglich?
« Reply #54 on: July 17, 2009, 03:16:17 AM »
I have used that version, i haven't ignore it, do you remember the mistakes i have mentioned?

http://www.fullposteo.com.ar/index.php





This is the INDEX.PHP modified by you
Code: [Select]
<?php
/**************************************************************************
 *                                                                        *
 *    4images - A Web Based Image Gallery Management System               *
 *    ----------------------------------------------------------------    *
 *                                                                        *
 *             File: index.php                                            *
 *        Copyright: (C) 2002-2009 Jan Sorgalla                           *
 *            Email: jan@4homepages.de                                    * 
 *              Web: http://www.4homepages.de                             * 
 *    Scriptversion: 1.7.7                                                *
 *                                                                        *
 *    Never released without support from: Nicky (http://www.nicky.net)   *
 *                                                                        *
 **************************************************************************
 *                                                                        *
 *    Dieses Script ist KEINE Freeware. Bitte lesen Sie die Lizenz-       *
 *    bedingungen (Lizenz.txt) für weitere Informationen.                 *
 *    ---------------------------------------------------------------     *
 *    This script is NOT freeware! Please read the Copyright Notice       *
 *    (Licence.txt) for further information.                              *
 *                                                                        *
 *************************************************************************/

$templates_used 'home,category_bit,whos_online,thumbnail_bit';
$main_template 'home';

define('GET_CACHES'1);
define('ROOT_PATH''./');
define('GET_USER_ONLINE'1);
include(
ROOT_PATH.'global.php');
require(
ROOT_PATH.'includes/sessions.php');
include(
ROOT_PATH.'includes/stats.php'); 
$user_access get_permission();

if (isset(
$HTTP_GET_VARS['go']) || isset($HTTP_POST_VARS['go'])) {
  
$template = (isset($HTTP_GET_VARS['go'])) ? get_basefile(stripslashes($HTTP_GET_VARS['go'])) : get_basefile(stripslashes($HTTP_POST_VARS['go']));
  if (!
file_exists(TEMPLATE_PATH."/".$template.".".$site_template->template_extension)) {
    
$template "";
  }
  else {
    
$main_template $template;
  }
}
else {
  
$template "";
}
include(
ROOT_PATH.'includes/page_header.php');

if (!empty(
$template)) {
  
$clickstream "<a href=\"".$site_sess->url(ROOT_PATH."index.php")."\">".$lang['home']."</a>".$config['category_separator'].str_replace("_"" "ucfirst($template));
  
$site_template->register_vars("clickstream"$clickstream);
  
$site_template->print_template($site_template->parse_template($main_template));
  include(
ROOT_PATH.'includes/page_footer.php');
}

$cache_id create_cache_id(
  
'page.index',
  array(
    
$user_info[$user_table_fields['user_id']],
    isset(
$user_info['lightbox_image_ids']) ? substr(md5($user_info['lightbox_image_ids']), 08) : 0,
    
$config['template_dir'],
    
$config['language_dir']
  )
);

if (!
$cache_page_index || !$content get_cache_file($cache_id)) {
// Always append session id if cache is enabled
if ($cache_page_index) {
  
$old_session_mode $site_sess->mode;
  
$site_sess->mode 'get';
}

ob_start();

//-----------------------------------------------------
//--- Show Categories ---------------------------------
//-----------------------------------------------------
$categories get_categories(0);
if (!
$categories)  {
  
$categories $lang['no_categories'];
}
$site_template->register_vars("categories"$categories);
unset(
$categories);

//-----------------------------------------------------
//--- Show New Images ---------------------------------
//-----------------------------------------------------
$site_template->register_vars(array(
  
"has_rss"   => true,
  
"rss_title" => "RSS Feed: ".format_text($config['site_name'], 2)." (".str_replace(':'''$lang['new_images']).")",
  
"rss_url"   => $script_url."/rss.php?action=images"
));

$imgtable_width ceil(intval($config['image_table_width']) / $config['image_cells']);
if ((
substr($config['image_table_width'], -1)) == "%") {
  
$imgtable_width .= "%";
}

$additional_sql "";
if (!empty(
$additional_image_fields)) {
  foreach (
$additional_image_fields as $key => $val) {
    
$additional_sql .= ", i.".$key;
  }
}

$sql "SELECT  setting_value as cat_rand_pic 
FROM "
.SETTINGS_TABLE.
WHERE setting_name = 'cat_rand_pic'"
;
    
$result $site_db->query($sql); 
$row mysql_fetch_object($result);
    
$cat_in $row->cat_rand_pic;

$num_new_images $config['image_cells'];
$sql "SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_description, i.image_keywords, i.image_date, i.image_active, i.image_media_file, i.image_thumb_file, i.image_download_url, i.image_allow_comments, i.image_comments, i.image_downloads, i.image_votes, i.image_rating, i.image_hits".$additional_sql.", c.cat_name".get_user_table_field(", u.""user_name")."
        FROM ("
.IMAGES_TABLE." i,  ".CATEGORIES_TABLE." c)
        LEFT JOIN "
.USERS_TABLE." u ON (".get_user_table_field("u.""user_id")." = i.user_id)
        WHERE i.image_active = 1 AND c.cat_id = i.cat_id AND i.cat_id NOT IN ("
.get_auth_cat_sql("auth_viewcat""NOTIN").")AND i.cat_id NOT IN (".$cat_in.")  
ORDER BY i.image_date DESC
        LIMIT 
$num_new_images";
$result $site_db->query($sql);
$num_rows $site_db->get_numrows($result);

if (!
$num_rows)  {
  
$new_images "<table width=\"".$config['image_table_width']."\" border=\"0\" cellpadding=\"".$config['image_table_cellpadding']."\" cellspacing=\"".$config['image_table_cellspacing']."\"><tr class=\"imagerow1\"><td>";
  
$new_images .= $lang['no_new_images'];
  
$new_images .= "</td></tr></table>";
}
else  {
  
$new_images "<table width=\"".$config['image_table_width']."\" border=\"0\" cellpadding=\"".$config['image_table_cellpadding']."\" cellspacing=\"".$config['image_table_cellspacing']."\">";
  
$count 0;
  
$bgcounter 0;
  while (
$image_row $site_db->fetch_array($result)){
    if (
$count == 0) {
      
$row_bg_number = ($bgcounter++ % == 0) ? 2;
      
$new_images .= "<tr class=\"imagerow".$row_bg_number."\">\n";
    }
    
$new_images .= "<td width=\"".$imgtable_width."\" valign=\"top\">\n";

    
show_image($image_row);
    
$new_images .= $site_template->parse_template("thumbnail_bit");
    
$new_images .= "\n</td>\n";
    
$count++;
    if (
$count == $config['image_cells']) {
      
$new_images .= "</tr>\n";
      
$count 0;
    }
  } 
// end while

  
if ($count 0)  {
    
$leftover = ($config['image_cells'] - $count);
    if (
$leftover >= 1) {
      for (
$f 0$f $leftover$f++) {
        
$new_images .= "<td width=\"".$imgtable_width."\">\n&nbsp;\n</td>\n";
      }
      
$new_images .= "</tr>\n";
    }
  }
  
$new_images .= "</table>\n";
// end else

$site_template->register_vars("new_images"$new_images);
unset(
$new_images);

//################################################### video Start #########################################
 
$num_new_images $config['image_cells'];
$sql "SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_description, i.image_keywords, i.image_date, i.image_active, i.image_media_file, i.image_thumb_file, i.image_download_url, i.image_allow_comments, i.image_comments, i.image_downloads, i.image_votes, i.image_rating, i.image_hits".$additional_sql.", c.cat_name".get_user_table_field(", u.""user_name")."
        FROM ("
.IMAGES_TABLE." i,  ".CATEGORIES_TABLE." c)
        LEFT JOIN "
.USERS_TABLE." u ON (".get_user_table_field("u.""user_id")." = i.user_id)
        WHERE i.image_active = 1 AND c.cat_id = i.cat_id AND i.cat_id NOT IN ("
.get_auth_cat_sql("auth_viewcat""NOTIN").")AND i.cat_id IN (".$cat_in.")  
        ORDER BY i.image_date DESC
 LIMIT 
$num_new_images";
$result $site_db->query($sql);
$num_rows2 $site_db->get_numrows($result);


if (!
$num_rows2)  {
  
$new_images2 "<table style=\"width:".$config['image_table_width']."; border-style:none;\" cellpadding=\"".$config['image_table_cellpadding']."\" cellspacing=\"".$config['image_table_cellspacing']."\"summary=\"new thumbs\"><tr class=\"imagerow1\"><td>";
  
$new_images2 .= $lang['no_new_images'];
  
$new_images2 .= "</td></tr></table>";
}
else  {
  
$new_images2 "<table style=\"width:".$config['image_table_width']."; border-style:none;\" cellpadding=\"".$config['image_table_cellpadding']."\" cellspacing=\"".$config['image_table_cellspacing']."\"summary=\"new thumbs\">";
  
$count 0;
  
$bgcounter 0;
  while (
$image_row2 $site_db->fetch_array($result)){
    if (
$count == 0) {
      
$row_bg_number = ($bgcounter++ % == 0) ? 2;
      
$new_images2 .= "<tr class=\"imagerow".$row_bg_number."\">\n";
    }
    
$new_images2 .= "<td class=\"imagerow".$row_bg_number."\" style=\"width:".$imgtable_width."; \">\n";

    
show_image($image_row2);
    
///$new_images .= $site_template->parse_template("thumbnail_index_bit");
$new_images2 .= $site_template->parse_template("thumbnail_bit");
    
$new_images2 .= "\n</td>\n";
    
$count++;
    if (
$count == $config['image_cells']) {
      
$new_images2 .= "</tr>\n";
      
$count 0;
    }
  } 
// end while

  
if ($count 0)  {
    
$leftover = ($config['image_cells'] - $count);
    if (
$leftover >= 1) {
      for (
$f 0$f $leftover$f++) {
        
$new_images2 .= "<td style=\"width:".$imgtable_width."\">\n&nbsp;\n</td>\n";
      }
      
$new_images2 .= "</tr>\n";
    }
  }
  
$new_images2 .= "</table>\n";
// end else

$site_template->register_vars("new_images2"$new_images2);
unset(
$new_images2);
//############################################ video end ################################################
//-----------------------------------------------------
//--- Print Out ---------------------------------------
//--------------------------------- 
//--------------------------------- End cat select pic ---------------------------------

//-----------------------------------------------------
$site_template->register_vars(array(
  
"msg" => $msg,
  
"clickstream" => $clickstream
));
$site_template->print_template($site_template->parse_template($main_template));

$content ob_get_contents();
ob_end_clean();

if (
$cache_page_index) {
  
// Reset session mode
  
$site_sess->mode $old_session_mode;

  
save_cache_file($cache_id$content);
}

// end if get_cache_file()

echo $content;

include(
ROOT_PATH.'includes/page_footer.php');
?>



HOME.HTML
Code: [Select]
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="5" height="23"><img src="{template_url}/images/head1_l.jpg" width="5" height="23"></td>
    <td width="100%" height="23" background="{template_url}/images/head1_bk.jpg" class="head1">{lang_new_images}</td>
    <td width="23" height="23"><img src="{template_url}/images/head1_r.jpg" width="23" height="23"></td>
  </tr>
  <tr>
    <td colspan="3">{new_images}</td>
  </tr>
  </table>
  <table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="5" height="23"><img src="{template_url}/images/head1_l.jpg" width="5" height="23"></td>
    <td width="100%" height="23" background="{template_url}/images/head1_bk.jpg" class="head1">{lang_new_videos}</td>
    <td width="23" height="23"><img src="{template_url}/images/head1_r.jpg" width="23" height="23"></td>
  </tr>
  <tr>
    <td colspan="3">{new_images2}</td>
  </tr>
</table>

« Last Edit: July 17, 2009, 03:30:49 AM by neverkas »
http://www.fullposteo.com.ar/



La nueva forma de compartir tus fotos y vídeos con tus amigos!

The new form to share photos and videos width your friends!

Rembrandt

  • Guest
Re: zwei spalten neue Bilder auf home möglich?
« Reply #55 on: July 17, 2009, 05:30:38 AM »
....
it works perfectly !
everything in the categorie indoors is subject to video display.
you have pictures stored in categorie 3
all pictures in categorie 3 are displayed shown in video.

Kann mir irgend wer weiterhelfen, der besser englisch kann oder spanisch kann, und ihm das erklärt.
entweder bin ich zu blöd ihm das zu erklären, oder er versteht das wirklich nicht.

die bilder auf seiner webseite  "Dando paliza""aka ta mi personaje en" foto del cs con mi nomt" sind eindeutig unter kategorie 3 gespeichert,
und werden somit auch unter videos angezeigt.

mfg Andi

Offline neverkas

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
    • FullPosteo
Re: zwei spalten neue Bilder auf home möglich?
« Reply #56 on: July 17, 2009, 10:23:39 PM »
I don't want that.

I need that the images appear in the "New Images" and i don't want them to appear in the place of the videos.

The videos must appear in the place "New Videos" and i don't want them to appear in the place of the images.

Do you understand? Please answer me. :)
http://www.fullposteo.com.ar/



La nueva forma de compartir tus fotos y vídeos con tus amigos!

The new form to share photos and videos width your friends!

Offline nobby

  • 4images Guru
  • *******
  • Posts: 2.851
    • View Profile
Re: zwei spalten neue Bilder auf home möglich?
« Reply #57 on: July 17, 2009, 10:37:15 PM »
@rembrandt

bin ja nicht super aber vielleicht klappt es ja so  :wink:

@neverkas

las imágenes en su página web "Dando paliza" alias ta mi foto del personaje en cs con mi nomt "están
claramente en la categoría 3 guardado y, por tanto, también videos.

nobby

Offline neverkas

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
    • FullPosteo
Re: zwei spalten neue Bilder auf home möglich?
« Reply #58 on: July 18, 2009, 12:09:40 AM »
@nobby

Bueno, pero yo quiero que aparescan los videos en "Nuevos videos" y las imagenes en "Nuevas imagenes", pero nose como hacerlo. No quiero que se junten los "Videos" con las "Imagenes", eso quiero.
Tal como aparece en esta galeria: http://www.rockbaer.de/daeof/

Well I want that the videos appear in "new videos" and the images in "new images", but I don't know how to do it.
« Last Edit: July 18, 2009, 03:58:59 AM by neverkas »
http://www.fullposteo.com.ar/



La nueva forma de compartir tus fotos y vídeos con tus amigos!

The new form to share photos and videos width your friends!

Offline nobby

  • 4images Guru
  • *******
  • Posts: 2.851
    • View Profile
Re: zwei spalten neue Bilder auf home möglich?
« Reply #59 on: July 18, 2009, 09:08:29 AM »
@rembrandt

neverkas möchte es getrennt haben, wie hier zu sehen: http://www.rockbaer.de/daeof/


neverkas gustaría tener por separado, como se muestra aquí: http://www.rockbaer.de/daeof/


nobby