Alleen de titel en datum is genoeg, kan ik in "album_cat.php" ongestraft de regels weghalen die niet nodig zijn of moet er ergens anders ook nog iets weg (zie Code)
Of zit ik hier helemaal fout, wie wijst me in dat geval even de weg.
vast bedankt, Arthur
Code: Selecteer alles
if( isset($HTTP_GET_VARS['sort_method']) )
{
switch ($HTTP_GET_VARS['sort_method'])
{
case 'pic_time':
$sort_method = 'pic_time';
break;
case 'pic_title':
$sort_method = 'pic_title';
break;
case 'username':
$sort_method = 'username';
break;
case 'pic_view_count':
$sort_method = 'pic_view_count';
break;
case 'rating':
$sort_method = 'rating';
break;
case 'comments':
$sort_method = 'comments';
break;
case 'new_comment':
$sort_method = 'new_comment';
break;
default:
$sort_method = $album_config['sort_method'];
}
}
else if( isset($HTTP_POST_VARS['sort_method']) )
{
switch ($HTTP_POST_VARS['sort_method'])
{
case 'pic_time':
$sort_method = 'pic_time';
break;
case 'pic_title':
$sort_method = 'pic_title';
break;
case 'username':
$sort_method = 'username';
break;
case 'pic_view_count':
$sort_method = 'pic_view_count';
break;
case 'rating':
$sort_method = 'rating';
break;
case 'comments':
$sort_method = 'comments';
break;
case 'new_comment':
$sort_method = 'new_comment';
break;
default:
$sort_method = $album_config['sort_method'];
}