QJ_musor_20161012_INFOFRAME.inc
Line #0:<?php //Session_start();
Line #1: ?>
Line #2:
Line #3:<html>
Line #4:<head>
Line #5:<title>Qjegy2011</title>
Line #6:<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
Line #7:</head>
Line #8:
Line #9:<BODY BORDER=0 background='Qhat.gif' CELLSPACING="0" CELLPADDING="0" align="left" onLoad="loadSFrame()" >
Line #10:
Line #11:<?php
Line #12:
Line #13://include('bilib.inc');
Line #14://BISQLcon();
Line #15:
Line #16://@mysql_query('SET CHARACTER SET latin2');
Line #17://@mysql_query("SET NAMES 'latin2'");
Line #18:
Line #19:IF (isset($_POST[datum_fej]) and $_SESSION[hely_kod]==$_POST[hely_kod]) $_POST[hely_kod]="*";
Line #20:IF (isset($_POST[hely_kod]) and $_SESSION[datum_fej]==$_POST[datum_fej] ) $_POST[datum_fej]="*";
Line #21:
Line #22:$_SESSION[hely_kod]=$_POST[hely_kod];
Line #23:$_SESSION[datum_fej]=$_POST[datum_fej];
Line #24:
Line #25:
Line #26:$disQ = "SELECT distinct cim FROM qj_musor where archiv<>'*' and future<>'*' and cim<>'' ".$_SESSION['Quniq_musor']." order by cim" ;
Line #27:
Line #28:
Line #29:
Line #30:onchange=this.form.submit(); return true name='eloadas_cim'>";
Line #31:
Line #32:
Line #33:
Line #34:while ( $disC = mysql_fetch_array( $disR ) ) {
Line #35:if ($disC[cim]==$_POST[eloadas_cim]) $sel="SELECTED"; else $sel="";
Line #36:$selE.="<option value='".$disC[cim]."' $sel >".$disC[cim]."</option>";
Line #37://echo($disC[hely_kod]."/".$disC[helyszin]."<hr>");
Line #38:}
Line #39:
Line #40:$selE.="</SELECT>";
Line #41:
Line #42:
Line #43:
Line #44:
Line #45:$disQ = "SELECT distinct helyszin,hely_kod FROM qj_musor where archiv<>'*' and future<>'*' and helyszin<>'' ". $_SESSION['Quniq_musor']." order by hely_kod" ;
Line #46:
Line #47:
Line #48:
Line #49:onchange=this.form.submit(); return true name='hely_kod'>";
Line #50:
Line #51:
Line #52:
Line #53:while ( $disC = mysql_fetch_array( $disR ) ) {
Line #54:if ($disC[hely_kod]==$_POST[hely_kod]) $sel="SELECTED"; else $sel="";
Line #55:$sel2.="<option value='".$disC[hely_kod]."' $sel >".$disC[helyszin]."</option>";
Line #56://echo($disC[hely_kod]."/".$disC[helyszin]."<hr>");
Line #57:}
Line #58:
Line #59:$sel2.="</SELECT>";
Line #60:
Line #61:
Line #62:$disQ = "SELECT distinct datum_fej FROM qj_musor where archiv<>'*' and future<>'*'". $_SESSION['Quniq_musor']." order by datum_fej" ;
Line #63:
Line #64:
Line #65:
Line #66://?//echo($disQ."<br>".$_SESSION[Quniq_musor]."<hr>");
Line #67:
Line #68:
Line #69:$sel3="<SELECT TITLE='Nap'
Line #70:onchange=this.form.submit(); return true name='datum_fej'>";
Line #71:
Line #72:
Line #73:
Line #74:while ( $disC = mysql_fetch_array( $disR ) ) {
Line #75:if ($disC[datum_fej]==$_POST[datum_fej]) $sel="SELECTED"; else $sel="";
Line #76:$sel3.="<option value='".$disC[datum_fej]."' $sel >".$disC[datum_fej]."</option>";
Line #77:}
Line #78:
Line #79:$sel3.="</SELECT>";
Line #80:
Line #81:
Line #82:
Line #83:
Line #84:?>
Line #85:
Line #86:<FORM name=cimform target=sframe action='QJ_musor.php' method='post'>
Line #87:
Line #88:<? echo($sel3); ?> &nbsp; &nbsp; <? echo($sel2); ?> &nbsp; &nbsp; <? echo($selE); ?>
Line #89:
Line #90:</form>
Line #91:
Line #92:<?
Line #93:
Line #94:
Line #95:$x="<td><a href=QJ_musor.php TARGET='sframe'>
Line #96:
Line #97: <td width=10></td>";
Line #98:
Line #99:
Line #100:
Line #101:$y="<tr><td colspan=9><a href=QJ_musSEL.php TARGET='alfej'>
Line #102:
Line #103: ";
Line #104:
Line #105:IF ($_SESSION[admin]<>"ADMIN") $archiv=" archiv <>'*' "; else $archiv=" future <>'*' ";
Line #106:
Line #107:$archiv=" archiv <>'*' and future <>'*'";
Line #108:
Line #109:IF (isset($_GET[hely_kod])) { $full=$x; $wer=" where $archiv and hely_kod='".$_GET[hely_kod]."'";}
Line #110:IF (isset($_GET[cim_kod])) { $full=$x; $cim=str_replace("~"," ",$_GET[cim_kod]); $wer=" where $archiv and cim='".$cim."'";}
Line #111:IF (isset($_POST[eloadas_cim]) and $_POST[eloadas_cim]<>"*") { $full=$x; $cim=str_replace("~"," ",$_POST[eloadas_cim]); $wer=" where $archiv and cim='".$cim."'";}
Line #112:
Line #113:IF (isset($_GET[datum_fej])) { $full=$x; $wer=" where $archiv and datum_fej='".$_GET[datum_fej]."'";}
Line #114:IF (isset($_POST[hely_kod]) and $_POST[hely_kod]<>"*" ) { $full=$x; $wer=" where $archiv and hely_kod='".$_POST[hely_kod]."'";}
Line #115:IF (isset($_POST[datum_fej]) and $_POST[datum_fej]<>"*" ) { $full=$x; $wer=" where $archiv and datum_fej='".$_POST[datum_fej]."'";}
Line #116:
Line #117:if ($wer=="" ) $wer=" where $archiv";
Line #118:
Line #119:IF (substr($_SESSION[admin],0,4)=="OF10") { $full=$x; $wer=" where $archiv and hely_kod='".$_SESSION[admin]."'";}
Line #120:
Line #121:
Line #122:$keres = "SELECT * FROM qj_musor $wer ".$_SESSION['Quniq_musor']." ORDER BY `datum_fej`";
Line #123:
Line #124:///////////////////
Line #125://BI_alert($keres);
Line #126:///////////////////
Line #127:
Line #128:
Line #129:$nur=mysql_num_rows($eredmeny);
Line #130:
Line #131:echo('<table STYLE="{color : black; font-size: 12px;}" ALIGN="center">');
Line #132:
Line #133:$li=0;
Line #134:while ( $egy_sor = mysql_fetch_array( $eredmeny )) {
Line #135:
Line #136:$h=$egy_sor[helyszin].'<br>&nbsp;'.$egy_sor[cim].'<br>&nbsp;'.$egy_sor[datum];
Line #137://$f=$egy_sor[datum_fej];
Line #138:$u=$egy_sor[datum_url];
Line #139:$q=$egy_sor[datum_kod];
Line #140:$c=$egy_sor[cim_url];
Line #141:$g=$egy_sor[hely_url];
Line #142:
Line #143:$k=$egy_sor[kep_url];
Line #144:
Line #145:
Line #146:$c="QJ_helyrajz.php?&musor_kod=".$egy_sor[datum_kod];
Line #147:
Line #148:$d="QJ_musor.php?&datum_fej=".$egy_sor[datum_fej];
Line #149:
Line #150:$g="QJ_musor.php?&hely_kod=".$egy_sor[hely_kod];
Line #151:
Line #152:$e="QJ_musor.php?&cim_kod=".$cim=str_replace(" ","~",$egy_sor[cim]);
Line #153:
Line #154:
Line #155:
Line #156://$qwe=strtolower($u);
Line #157://if (strpos($qwe, 'http')=0) $u=$c;
Line #158:$u=$c;
Line #159:
Line #160:$fs='';
Line #161://if (!empty($f)) $fs="<b STYLE='{font-size: 12px; color : #000066;}'>".$f."</b><br>";
Line #162:
Line #163://if (empty($u)) $u=$c;
Line #164:
Line #165:$li++;
Line #166:
Line #167:if ($li>3) $li=1;
Line #168:
Line #169: $vez1='<td width=90></td><td>';
Line #170: $vez2='</td>';
Line #171:
Line #172:if ($li=1) {
Line #173: $vez1='<tr><td width=90></td><td>';
Line #174: $vez2='</td>';
Line #175:}
Line #176:
Line #177:if ($li=3) {
Line #178: $vez1='<td width=90></td><td>';
Line #179: $vez2='</td></tr>';
Line #180:}
Line #181:
Line #182:
Line #183://echo '<tr><td width=90></td><td>';
Line #184://echo $vez1;
Line #185:
Line #186://echo "<p bgcolor=green align='center'>
Line #187://<a href=$g TARGET='adatframe'><b STYLE='{font-size: 12px; color : Olive;}'>$egy_sor[helyszin]</b></a><br>
Line #188://<a href=$c TARGET='adatframe'><b STYLE='{font-size: 18px; color : Teal;}'>$egy_sor[cim]</b></a><br>
Line #189://<a href=$u TARGET='adatframe'><b STYLE='{font-size: 14px; color : Teal;}'>$d</b></a><br>
Line #190://".$fs."
Line #191://<a href='wj_box.php?&mfltr=$q' TARGET='adatframe'><img src='mejegyrr.jpg'></a><br>
Line #192://";
Line #193:
Line #194://echo"</p>";
Line #195:
Line #196:if (substr($egy_sor[usr_kod],0,2)=="OF") $cim="<font color=blue><b>".$egy_sor[cim]."</b></font>"; else
Line #197:$cim="<a href=".$e." TARGET='sframe'><b>$egy_sor[cim]</b></a>";
Line #198:
Line #199:echo "<tr>
Line #200:
Line #201:<td><a href=$c TARGET='adatframe'>$w</a></td>
Line #202:<td width=10></td>
Line #203:
Line #204:<td><a href=$d TARGET='sframe'><b>$egy_sor[datum]</b></a><br></td>
Line #205:".$fs."
Line #206:
Line #207:<td width=10></td>
Line #208:
Line #209:<td>$cim</td>
Line #210:<td width=10></td>
Line #211:<td align=left><a href=$g TARGET='sframe'><b>$egy_sor[helyszin]</b></a></td>
Line #212:<td width=10>$full</td>
Line #213:
Line #214:" ;
Line #215:
Line #216:echo"</tr>";
Line #217:
Line #218:
Line #219://<br><center><img src='bar.gif' border='0'></center>
Line #220:
Line #221://echo '</td></tr>';
Line #222://echo $vez2;
Line #223:
Line #224:}
Line #225:
Line #226:echo('</table>');
Line #227:
Line #228:/*echo('<center><img src=../Screen/bar.gif>
Line #229: </center><p align=center>
Line #230: <font face=Verdana, Arial, Helvetica, sans-serif style=FONT-SIZE: 10px color=#000066 size=1>Copyright&copy;
Line #231: <a href="http://www.maxin.hu/Diak" target=_top>Qjegy2011 </a><br>
Line #232: 2010.</font></p>');
Line #233:*/
Line #234:
Line #235:include("../_inc_BI/BI_Copyright.php");
Line #236:
Line #237://include("gvarlist.php")
Line #238:include("QJ_stop.php")
Line #239:
Line #240:?>
Line #241:
Line #242:<SCRIPT LANGUAGE="JavaScript">
Line #243:
Line #244:<!-- Begin
Line #245:
Line #246:
Line #247:
Line #248:function loadSFrame() {
Line #249:
Line #250:msg=window.open("QJ_musSEL.php", 'alfej');
Line #251:msg=window.open("QJ_musSELvez.php", 'infoframe');
Line #252:
Line #253:}
Line #254:
Line #255:
Line #256:// End -->
Line #257:
Line #258:</script>
Line #259:
Line #260:
Line #261:
Line #262:<body background='hatadat.jpg' CELLSPACING='0' CELLPADDING='0' onLoad="loadSFrame()" >
Line #263:</body>