date_default_timezone_set('America/New_York');
$citatepedia_serv = "localhost";
$citatepedia_user = "citatepedia";
$citatepedia_pass = "bon77sai";
$citatepedia_data = "citatep_en";
$citatepedia_path = dirname(__FILE__);
$cookie_domain = ".citatepedia.com";
$home_domain = strtolower($_SERVER['HTTP_HOST']);
if (substr($home_domain,0,4)=='www.') $home_domain=substr($home_domain,4);
$comments_table = "citatepedia_comentarii";
$match_cautare_against = ' MATCH (definitie,autor,sursa) AGAINST ';
$match_subiect_against = ' MATCH (definitie) AGAINST ';
$videotag=true;
$moderator_name='Veronica Serbanoiu';
$moderator_mail='vserbanoiu@yahoo.com';
include 'text_en.php';
?>
Authors beginning with Z
include "../header_top.php";
include "header_general.php";
include "../header_content.php";
$mycontext_order='data_extern DESC';
$mycontext_limit=5;
?>
include '../content_separator.php';
// if ($c=="")
// {
// include '../top_autori_list.php';
// include '../content_separator.php';
// }
if ($c<>"") echo '
Authors beginning with '.$c.'
';
else echo '
Suggested authors
';
$link = mysql_connect( $citatepedia_serv, $citatepedia_user, $citatepedia_pass );
if ( ! $link )
die( "Couldn't connect to MySQL" );
else
{
mysql_set_charset('utf8',$link);
mysql_select_db( $citatepedia_data,$link ) or die ( "Couldn't open database: ".mysql_error() );
include_once('../functions.php');
$cacheFile=$citatepedia_path.'/cache_html/'.$home_domain.'_'.md5($_SERVER['REQUEST_URI']);
if(cache_start($cacheFile))
{
if ($c<>"") $result = mysql_query( "SELECT autor,COUNT(*) AS _count,AVG(calitate) AS _vot FROM citatepedia WHERE autor LIKE '".mysql_real_escape_string($c)."%' GROUP BY autor ORDER BY autor", $link ) or die ( "Couldn't select: ".mysql_error() );
else $result = mysql_query( "SELECT autor,COUNT(*) AS _count,AVG(calitate) AS _vot FROM citatepedia WHERE autor<>'' GROUP BY autor HAVING _count>25 AND _vot>=1.5 ORDER BY autor", $link ) or die ( "Couldn't select: ".mysql_error() );
echo '