http://www.hotstation.gr"); } if(!isset($mainfile)) { include("mainfile.php"); } #################################################################### # options # #################################################################### ### options link # ac = windows (news,box,title,scroll,ticker) # ac2 = number news # ac3 = topic ### General $easy_name_rep = "Sirik_GR"; $tb_stories = $prefix."_stories"; $tb_topics = $prefix."_topics"; ### box $easy_color_top_box = "000000"; $easy_color_body_box = "FFFFFF"; $easy_color_border_box = "000000"; $easy_color_topic_box = "000033"; $easy_color_title_box = "000000"; $easy_color_date_box = "000033"; $easy_color_sitename_box = "000000"; $easy_widht_box = 498; $easy_num_news_box = 5; # 5 news if ac2=0 $easy_topic_box = 0; # 0 all topics if ac3=0 $easy_gif_box ="hs-75x20.gif"; # 75*20 powered by easynews (u can replace whith your logo) ### News $easy_color_top_news = "000000"; $easy_color_body_news = "FFFFFF"; $easy_color_border_news = "000000"; $easy_color_foot_news = "000000"; $easy_color_topic_news = "000033"; $easy_color_date_news = "000033"; $easy_color_sitename_news = "000000"; $easy_widht_news = 150; $easy_num_news_news = 5; # 5 news if ac2=0 $easy_topic_news = 0; # 0 all topics if ac3=0 $easy_gif_news ="hs-150x20.gif"; # 150*20 powered by easynews (u can replace whith your logo) ### Title $easy_color_top_title = "000033"; $easy_color_body_title = "FFFFFF"; $easy_color_border_title = "000000"; $easy_color_foot_title = "000000"; $easy_color_topic_title = "000033"; $easy_color_date_title = "000033"; $easy_color_sitename_title = "000000"; $easy_widht_title = 150; $easy_num_news_title = 5; # 5 news if ac2=0 $easy_topic_title = 0; # 0 all topics if ac3=0 $easy_gif_title = "hs-150x20.gif"; # 150*20 powered by easynews (u can replace whith your logo) ### Scroller $easy_color_top_scroll = "000033"; $easy_color_body_scroll = "FFFFFF"; $easy_color_border_scroll = "000000"; $easy_color_foot_scroll = "000000"; $easy_color_topic_scroll = "000033"; $easy_color_date_scroll = "000033"; $easy_color_sitename_scroll = "000000"; $easy_widht_scroll = 150; $easy_height_scroll = 150; $easy_num_news_scroll = 5; # 5 news if ac2=0 $easy_topic_scroll = 0; # 0 all topics if ac3=0 $easy_gif_scroll = "hs-150x150.gif"; # 150*150 powered by easynews (u can replace whith your logo) ### Ticker $easy_color_top_ticker = "000033"; $easy_color_body_ticker = "FFFFFF"; $easy_color_border_ticker = "000000"; $easy_color_foot_ticker = "000000"; $easy_color_topic_ticker = "000033"; $easy_color_date_ticker = "000033"; $easy_color_sitename_ticker = "000000"; $easy_widht_ticker = 498; $easy_num_news_ticker = 5; # 5 news if ac2=0 $easy_topic_ticker = 0; # 0 all topics if ac3=0 $easy_gif_ticker = "hs-150x20.gif"; # 150*20 powered by easynews (u can replace whith your logo) #################################################################### $supcri="and $tb_stories.alanguage='greek'";// si topic $easymod = "name=$easy_name_rep&file=index"; function easy_jscript($jslo) { echo sprintf ("%s%s%s", "document.write('",$jslo,"');")."\n"; } function easy_clean($hometext,$lg) { $hometext = ereg_replace("<[^>]*>", "", $hometext); $hometext = ereg_replace(13, " ", $hometext); $hometext = ereg_replace(10, " ", $hometext); $hometext = substr($hometext,0,$lg); $hometext = chop(ereg_replace("'", "\'",$hometext)); $hometext.=" ..."; return($hometext); } function easy_modhtml() { global $easy_name_rep,$nukeurl,$easymod,$dbname,$tb_topics; ## Insert in easy_html.php your html code to present headlines partnership ## $linknewsbox=$nukeurl."/modules.php?".$easymod."&ac=news&ac2=&ac3="; $linkboxbox=$nukeurl."/modules.php?".$easymod."&ac=box&ac2=&ac3="; $linktitlebox=$nukeurl."/modules.php?".$easymod."&ac=title&ac2=&ac3="; $linkscroller=$nukeurl."/modules.php?".$easymod."&ac=scroller&ac2=&ac3="; $linktickerbox=$nukeurl."/modules.php?".$easymod."&ac=ticker&ac2=&ac3="; $easyurl =$nukeurl."/modules.php?".$easymod."&ac="; $easytopic=""; $result= mysql_db_query($dbname,"select topicid,topicname from $tb_topics"); while(list($topicid,$topicname)=mysql_fetch_row($result)) { $easytopic.="