'.$autor_label.''; include '../config.php'; $link = mysql_connect( $citatepedia_serv, $citatepedia_user, $citatepedia_pass ); if ( ! $link ) die( "Couldn't connect to MySQL" ); else { mysql_select_db( $citatepedia_data,$link ) or die ( "Couldn't open database: ".mysql_error() ); include '../meniu_autor.php'; include "../header_content.php"; $mycontext_author=$autor_label; $mycontext_order='data_extern DESC'; $mycontext_limit=($p-1).',3'; $cond="tip='3' AND autor='".mysql_real_escape_string($a)."'"; $result = mysql_query( "SELECT COUNT(*) AS _items FROM citatepedia WHERE ".$cond, $link ) or die ( "Couldn't select: ".mysql_error() ); $row = mysql_fetch_array( $result ); $items = $row['_items']; $result = mysql_query( "SELECT * FROM citatepedia WHERE ".$cond." ORDER BY calitate DESC,vott DESC,voturi DESC,recomandari DESC,titlu0 LIMIT ".(($p-1)*$perpage).','.$perpage, $link ) or die ( "Couldn't select: ".mysql_error() ); echo '

Tristihuri de '.$autor_label; if ($p>1) echo ', pagina '.$p; echo '

'; include "../show_list.php"; include "../navig.php"; if (strlen($a)>1) { $share_title='tristihuri de '.$autor_label; $share_description=$metaDescription; $share_url='http://tristihuri.citatepedia.ro/de.php?a='.urlencode($a); $share_center=true; echo '

Dacă știi un alt tristih, îl poți adăuga.

'; echo '

Pentru a recomanda tristihurile de '.$autor_label.', adresa este:

'; include '../share_direct.php'; } } include "../sidebar.php"; mysql_close( $link ); include "../footer_general.php"; ?>