🚀 Advanced Web Server Manager
Complete File Manager & Terminal - Standalone Version
By Sid Gifari | Gifari Industries
Current path:
/
/
home
/
users
/
2
/
fujibow
/
web
/
@180914
/
solution
/
fujibow
/
admin
✏️
Editing: index.cgi
#!/usr/bin/perl -- #********************************************************** # ����ץ�ץ���ࡡ�ģ¤��ͤ��ɤ߹���Ǥ��Τޤ�ɽ�� #********************************************************** #=====�������============================================== use dbAccess1; # DB����⥸�塼�� require './cgi-lib.pl'; # http�ѥ⥸�塼�� #=====�ѿ���============================================== # DB�ǡ������Ǽ�������� my (@mData,$sql,$user_name,$user_id_mask); # ���ѥ����� my ($i,$j); # ���ѥե饰 my $flag; # �ե�����ǡ�����Ǽ my %form_data; #=====�����============================================== require './fujibow_conf.pl'; my $mContentType = '<META http-equiv="Content-Type" content="text/html; charset=EUC-JP">'; #=====�ե�����ǡ�����Ǽ���================================ &ReadParse(\%form_data); #=====main���============================================== { my $sql = "select * from T_M_STORE WHERE VALID_FLAG='1'"; @mData = dbAccess1::getSelect_data($sql); if ($mData[0] == 0){ &errorOut("notfound"); }else{ &outHTML(); } } #=========================================================== #=====Error���============================================== sub errorOut { my $flag = $_[0]; print "Content-type:text/html\n\n"; print <<EOF; <html> <head> <meta http-equiv="Content-Language" content="ja"> $mContentType <META http-equiv="Content-Style-Type" content="text/css"> <title>���顼����</title> </head> <body> <center> <div> <table border="0" width="561" height="43"> <tr> <td width="66" height="43"><embed width="48" height="48" src="$imageURL/movie.swf"></td> <td width="217" height="43"> <p align="center"><img border="0" src="$imageURL/fuji_title.gif" width="144" height="27"></td> <td width="298" height="43"><img border="0" src="$imageURL/title.gif" width="348" height="31"></td> </tr> </table> </div> <hr> <h3>���顼����</h3> <P>Ź������Ͽ����Ƥ��ޤ��������ƥ����Ԥˤ���ǧ�ꤤ�ޤ�</p> <hr> <a href="JavaScript:history.back()"><IMG src="$imageURL/button2.gif" width="67" height="52" border="0" alt="�������"></a> </center> </body> </html> EOF } #=====HTML����============================================== sub outHTML { print "Content-type:text/html\n\n"; print <<EOF; <html> <head> <meta http-equiv="Content-Language" content="ja"> <META http-equiv="Content-Type" content="text/html; charset="EUC-JP"> <title>�ٻ��ɿ幩�ȡ�������Web�����ƥࡡ����ԥ�˥塼����</title> <link rel="stylesheet" type="text/css" href="default.css"/> <script language="JavaScript"> function goNext(inFlag){ if (inFlag == 1){ document.frmMain.action = "dailyInput.cgi"; }else if (inFlag == 2){ document.frmMain.action = "monthlyGet.cgi"; } document.frmMain.submit(); } </script> </head> <body> <center> <div> <table border="0" width="561" height="43"> <tr> <td width="66" height="43"><embed width="48" height="48" src="$imageURL/movie.swf"></td> <td width="217" height="43"> <p align="center"><img border="0" src="$imageURL/fuji_title.gif" width="144" height="27"></td> <td width="298" height="43"><img border="0" src="$imageURL/title.gif" width="348" height="31"></td> </tr> </table> </div> <hr> <H1>���˿��������ޤ�����</H1> <H2>���ڡ������ư���ޤ����� <a href="admin_index.htm">������</a>�ؤ��ʤ߲�������</H2> <hr> </center> </body> </html> EOF }
💾 Save Changes
❌ Cancel