QJ_gyujtoMENU.inc
Line #0:<?php
Line #1:
Line #2:if ($gyMENU=="") $gyMENU='QJ_gyujto';
Line #3://?//echo("<hr>".$gyMENU);
Line #4:
Line #5:echo("<TABLE border=0 ><TR><td width=200>");
Line #6:
Line #7:$parancs="SELECT * FROM qj_sql where szoveg='$gyMENU' and archiv<>'*' and future<>'*' ORDER BY widarc";
Line #8:
Line #9:
Line #10:$i=0;
Line #11:while ( $egy_sor = mysql_fetch_array( $eredmeny )) {
Line #12:
Line #13://?//echo($egy_sor[usr_kod]."/".$egy_sor[sql_memo]."/".$egy_sor[sql_parancs]."<hr>");
Line #14:
Line #15:if ($egy_sor[usr_kod]=='Login' or
Line #16: $_SESSION[admin]==$egy_sor[usr_kod] or
Line #17: $_SESSION[login]=='BI(c)') {
Line #18:if (substr($egy_sor[widarc],0,1)<>$i) {
Line #19:$i=substr($egy_sor[widarc],0,1);
Line #20:echo("</Tr><tr>");
Line #21:}
Line #22:$target=$egy_sor[archiv];
Line #23:$szin=$egy_sor[future];
Line #24:$url=$egy_sor[sql_memo];
Line #25:$cim=$egy_sor[sql_parancs];
Line #26:echo("<td width=200 bgcolor=$szin>");
Line #27:echo("<a target='$target' href='$url'>$cim</a>&nbsp;&nbsp;&nbsp;");
Line #28:echo("</Td>");
Line #29:}
Line #30:}
Line #31:
Line #32:echo("</Td></tr></table>");
Line #33:
Line #34:?>
Line #35: