00001 <?
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 $lang = getLang($id);
00030 $theme = getImageDir($id);
00031 include("lang/$lang/lang_header.php");
00032 $color1 = getColor($id, 1);
00033 $color2 = getColor($id, 2);
00034 $color3 = getColor($id, 3);
00035 $color4 = getColor($id, 4);
00036 $text_color1 = getTextColor($id, 1);
00037 $text_color2 = getTextColor($id, 2);
00038 $text_color3 = getTextColor($id, 3);
00039 $text_color4 = getTextColor($id, 4);
00040 $bg_color1 = getBgColor($id, 1);
00041 $bg_color2 = getBgColor($id, 2);
00042
00043
00044
00045
00046 echo "
00047 <!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">
00048 <html>
00049 <head>
00050 <title>"._PAGETITLE."</title>
00051 <script LANGUAGE=\"Javascript\">
00052 function goBack() {
00053 window.history.back()
00054 }
00055 </SCRIPT>
00056 <meta HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset="._CHARSET."\">
00057 <META NAME=\"AUTHOR\" CONTENT=\"Srdjan Segvic\">
00058 <META NAME=\"COPYRIGHT\" CONTENT=\"Copyright (c) 2004 by Srdjan Segvic\">
00059 <META NAME=\"GENERATOR\" CONTENT=\"SiS.Student - Copyright 2004 by http://sservis.sourceforge.net\">
00060 <style type=\"text/css\">
00061 <!--
00062 a:link { font-family: Verdana, Arial, Helvetica, sans-serif; text-decoration: none;}
00063
00064 a:visited {font-family: Verdana, Arial, Helvetica, sans-serif; text-decoration: none;}
00065
00066 a:hover { font-family: Verdana, Arial, Helvetica, sans-serif; text-decoration: none; color: #999999}
00067 -->
00068 </style>
00069 <link REL=\"shortcut icon\" HREF=\"template/favicon.ico\" TYPE=\"image/x-icon\">
00070 <link href=\"template/sis.css\" rel=\"stylesheet\" type=\"text/css\">
00071 </head>
00072
00073 <body background=\"template/".$theme."/backkk.jpg\" text=\"".$text_color1."\" link=\"".$text_color1."\" vlink=\"#000000\" alink=\"#000000\" leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">
00074 <table width=\"100%\" height=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
00075 <tr>
00076 <td height=\"121\"> <table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
00077 <tr>
00078 <td height=\"21\" align=\"center\" valign=\"middle\" background=\"template/".$theme."/shade.jpg\">
00079 <table width=\"740\" cellpadding=\"0\" cellspacing=\"0\" class=\"table\">
00080 <tr align=\"center\" valign=\"middle\">
00081 <td width=\"10\" bgcolor=\"".$bg_color1."\">
00082 <div align=\"center\"><strong><font color=\"".$text_color1."\" class=\"textsize1\">::</font></strong></div></td>
00083 <td width=\"94\" class=\"table\"><a href=\""._ALINK1."\"><strong><font class=\"textsize1\">"._LINK1."
00084 </font></strong></a></td>
00085 <td width=\"10\" bgcolor=\"".$bg_color1."\">
00086 <div align=\"center\"><strong><font class=\"textsize1\"><font color=\"".$text_color1."\">::
00087 </font></font></strong></div></td>
00088 <td width=\"94\" class=\"table\">
00089 <div align=\"center\"><a href=\""._ALINK2."\"><strong><font class=\"textsize1\">"._LINK2."
00090 </font></strong></a></div></td>
00091 <td width=\"10\" bgcolor=\"".$bg_color1."\">
00092 <div align=\"center\"><strong><font color=\"".$text_color1."\" class=\"textsize1\">::
00093 </font></strong></div></td>
00094 <td width=\"94\" class=\"table\">
00095 <div align=\"center\"><a href=\""._ALINK3."\"><strong><font class=\"textsize1\">"._LINK3."</font></strong></a></div></td>
00096 <td width=\"10\" bgcolor=\"".$bg_color1."\">
00097 <div align=\"center\"><strong><font class=\"textsize1\">::</font></strong></div></td>
00098 <td width=\"94\" class=\"table\">
00099 <div align=\"center\"><a href=\""._ALINK4."\"><strong><font class=\"textsize1\">
00100 "._LINK4."</font></strong></a></div></td>
00101 <td width=\"10\" bgcolor=\"".$bg_color1."\">
00102 <div align=\"center\"><strong><font class=\"textsize1\">::</font></strong></div></td>
00103 <td width=\"94\" class=\"table\">
00104 <div align=\"center\"><a href=\""._ALINK5."\"><strong><font class=\"textsize1\">
00105 "._LINK5."</font></strong></a></div></td>
00106 <td width=\"10\" bgcolor=\"".$bg_color1."\">
00107 <div align=\"center\"><strong><font class=\"textsize1\">::</font></strong></div></td>
00108 <td width=\"94\" class=\"table\">
00109 <div align=\"center\"><a href=\""._ALINK6."\"><font class=\"textsize1\"><strong>"._LINK6."</strong></font></a></div></td>
00110 <td width=\"10\" bgcolor=\"".$bg_color1."\">
00111 <div align=\"center\"><strong><font color=\"".$text_color1."\" class=\"textsize1\">::
00112 </font></strong></div></td>
00113 <td width=\"94\" class=\"table\">
00114 <div align=\"center\"><a href=\"http://sservis.sourceforge.net/\"><strong><font class=\"textsize1\">
00115 SiS Home </font></strong></a></div></td>
00116 <td width=\"10\" bgcolor=\"".$bg_color1."\"> <div align=\"center\"><font color=\"".$text_color1."\" class=\"textsize1\"><strong>::</strong></font></div></td>
00117 </tr>
00118 </table>
00119 </td>
00120 </tr>
00121 <tr valign=\"middle\">
00122 <td height=\"21\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
00123 <tr>
00124 <td bgcolor=\"".$color4."\"> </td>
00125 <td width=\"740\">
00126 <table width=\"740\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">
00127 <tr valign=\"top\">
00128 <td width=\"397\" height=\"80\" valign=\"middle\" background=\"template/".$theme."/back.jpg\">
00129 <div align=\"left\"><img src=\"template/".$theme."/novon.jpg\" width=\"397\" height=\"80\"></div></td>
00130 <td width=\"343\" valign=\"middle\" background=\"template/".$theme."/gore.jpg\"> <div align=\"right\"></div></td>
00131 </tr>
00132 </table></td>
00133 <td background=\"template/".$theme."/back.jpg\"> </td>
00134 </tr>
00135 </table></td>
00136 </tr>
00137 <tr valign=\"middle\">
00138 <td height=\"21\" background=\"template/".$theme."/shade.jpg\"> <table width=\"740\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" class=\"table\">
00139 <tr align=\"center\" valign=\"middle\">
00140 <td width=\"10\" bordercolor=\"".$bg_color1."\" bgcolor=\"".$bg_color1."\">
00141 <div align=\"center\"><strong><font color=\"".$text_color1."\" class=\"textsize1\">::</font></strong></div></td>
00142 <td width=\"94\" class=\"table\"><a href=\"main.php\"><strong><font class=\"textsize1\">"._LINK8."</font></strong></a></td>
00143 <td width=\"10\" bgcolor=\"".$bg_color1."\">
00144 <div align=\"center\"><strong><font class=\"textsize1\"><font color=\"".$text_color1."\">::
00145 </font></font></strong></div></td>
00146 <td width=\"94\" class=\"table\">
00147 <div align=\"center\"><a href=\"servisi.php\"><strong><font class=\"textsize1\">"._LINK9."</font></strong></a></div></td>
00148 <td width=\"10\" bgcolor=\"".$bg_color1."\">
00149 <div align=\"center\"><strong><font color=\"".$text_color1."\" class=\"textsize1\">::
00150 </font></strong></div></td>
00151 <td width=\"94\" class=\"table\">
00152 <div align=\"center\"><a href=\"indeks.php\"><strong><font class=\"textsize1\">"._LINK10."</font></strong></a></div></td>
00153 <td width=\"10\" bgcolor=\"".$bg_color1."\">
00154 <div align=\"center\"><strong><font class=\"textsize1\">::</font></strong></div></td>
00155 <td width=\"94\" class=\"table\">
00156 <div align=\"center\"><a href=\"downloadi.php\"><strong><font class=\"textsize1\">
00157 "._LINK11."</font></strong></a></div></td>
00158 <td width=\"10\" bgcolor=\"".$bg_color1."\">
00159 <div align=\"center\"><strong><font class=\"textsize1\">::</font></strong></div></td>
00160 <td width=\"94\" class=\"table\">
00161 <div align=\"center\"><a href=\"linkovi.php\"><strong><font class=\"textsize1\">
00162 "._LINK12."</font></strong></a></div></td>
00163 <td width=\"10\" bgcolor=\"".$bg_color1."\">
00164 <div align=\"center\"><strong><font class=\"textsize1\">::</font></strong></div></td>
00165 <td width=\"94\" class=\"table\">
00166 <div align=\"center\"><a href=\"pref.php\"><font class=\"textsize1\"><strong>"._LINK13."</strong></font></a></div></td>
00167 <td width=\"10\" bgcolor=\"".$bg_color1."\">
00168 <div align=\"center\"><strong><font color=\"".$text_color1."\" class=\"textsize1\">::
00169 </font></strong></div></td>
00170 <td width=\"94\" class=\"table\"> <div align=\"center\"><a href=\"dologin.php?&action=logout\"><strong><font class=\"textsize1\">"._LINK14."</font></strong></a></div></td>
00171 <td width=\"10\" bgcolor=\"".$bg_color1."\"> <div align=\"center\"><font color=\"".$text_color1."\" class=\"textsize1\"><strong>::</strong></font></div></td>
00172 </tr>
00173 </table></td>
00174 </tr>
00175 </table></td>
00176 </tr>
00177 <tr>
00178 <td valign=\"top\" align=\"center\">
00179 <table width=\"740\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">
00180 <tr>
00181 <td width=\"10\" valign=\"top\">
00182 <p> </p>
00183 <p> </p></td>
00184 <td width=\"740\" valign=\"top\" align=\"center\">
00185 <table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
00186 <tr>
00187 <td> </td>
00188 </tr>
00189 </table>";
00190 echo "\n<!----- Header - KRAJ ----->\n";
00191
00192
00193
00194
00195 $color1 = getColor($id, 1);
00196 $color2 = getColor($id, 2);
00197 $color3 = getColor($id, 3);
00198 $text_color1 = getTextColor($id, 1);
00199
00200
00201
00202
00203
00204 function printRokoviStart($naziv, $px){
00205 global $theme, $color1, $color4;
00206 echo "\n<!----- funkcija: printRokoviStart - START ----->\n";
00207 echo "
00208 <table width=\"724\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">
00209 <tr align=\"center\" valign=\"top\">
00210 <td align=\"center\" valign=\"top\">
00211 <table width=\"".$px."\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
00212 <tr>
00213 <td align=\"center\" valign=\"bottom\" class=\"table\">
00214 <table bgcolor=\"".$color1."\" width=\"".$px."\" border=\"0\" cellpadding=\"5\" cellspacing=\"0\">
00215 <tr bgcolor=\"".$color4."\">
00216 <td colspan=\"3\" valign=\"middle\"> <div align=\"right\"></div>
00217 <div align=\"center\">
00218 <table align=\"center\" width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
00219 <tr height=\"30\">
00220 <td width=\"7%\"><div align=\"center\"><font class=\"textsize1\"><img src=\"template/".$theme."/small.jpg\" width=\"15\" height=\"16\">
00221 </font></div></td>
00222 <td width=\"93%\"><font class=\"textsize1\">
00223 ".$naziv."</font></td>
00224 </tr>
00225 </table>
00226 </div></td>
00227 </tr>";
00228 echo "\n<!----- funkcija: printRokoviStart - KRAJ ----->\n";
00229 }
00230
00231
00232
00233
00234
00235 function printRokoviKraj(){
00236 echo "\n<!----- funkcija: printRokoviKraj - START ----->\n";
00237 echo "
00238 </table>
00239 </div></td>
00240 </tr>
00241 </table></td>
00242 </tr>";
00243 echo "\n<!----- funkcija: printRokoviKraj - KRAJ ----->\n";
00244 }
00245
00246
00247
00248
00249
00250 function printServisGreska($text){
00251 global $theme, $color1, $text_color2;
00252 echo "\n<!----- funkcija: printServisGreska - START ----->\n";
00253 echo "
00254 <td colspan=\"3\" bgcolor=\"".$color1."\"> <div align=\"left\"><font color=\"".$text_color2."\" class=\"textsize2\"><strong> </strong></font></div>
00255 </tr>
00256 <tr>
00257 <td colspan=\"3\" bgcolor=\"".$color1."\"> <div align=\"center\">
00258 <font color=\"".$text_color2."\" class=\"textsize2\"><strong>".$text."</strong></font></div>
00259 </tr>
00260 <tr>
00261 <td colspan=\"3\" bgcolor=\"".$color1."\"> <div align=\"left\"><font color=\"".$text_color2."\" class=\"textsize2\"><strong>
00262 </strong></font></div></td>
00263 </tr>
00264 </table></td>
00265 </tr>
00266 </table>
00267 </td>";
00268 echo "\n<!----- funkcija: printServisGreska - KRAJ ----->\n";
00269 }
00270 ?>