<% '################################################################################# '## Snitz Forums 2000 v3.4.05 '################################################################################# '## Copyright (C) 2000-05 Michael Anderson, Pierre Gorissen, '## Huw Reddick and Richard Kinser '## '## This program is free software; you can redistribute it and/or '## modify it under the terms of the GNU General Public License '## as published by the Free Software Foundation; either version 2 '## of the License, or (at your option) any later version. '## '## All copyright notices regarding Snitz Forums 2000 '## must remain intact in the scripts and in the outputted HTML '## The "powered by" text/logo with a link back to '## http://forum.snitz.com in the footer of the pages MUST '## remain visible when the pages are viewed on the internet or intranet. '## '## This program is distributed in the hope that it will be useful, '## but WITHOUT ANY WARRANTY; without even the implied warranty of '## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the '## GNU General Public License for more details. '## '## You should have received a copy of the GNU General Public License '## along with this program; if not, write to the Free Software '## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. '## '## Support can be obtained from our support forums at: '## http://forum.snitz.com '## '## Correspondence and Marketing Questions can be sent to: '## manderson@snitz.com '## '################################################################################# %> <% if Session(strCookieURL & "Approval") <> "15916941253" then scriptname = split(request.servervariables("SCRIPT_NAME"),"/") Response.Redirect "admin_login.asp?target=" & scriptname(ubound(scriptname)) end if '## Forum_SQL - Get membercount from DB strSql = "SELECT COUNT(MEMBER_ID) AS U_COUNT FROM " & strMemberTablePrefix & "MEMBERS_PENDING" Set rs = Server.CreateObject("ADODB.Recordset") rs.open strSql, my_Conn if not rs.EOF then User_Count = rs("U_COUNT") else User_Count = 0 end if rs.close set rs = nothing select case strDBType case "access" if instr(lcase(strConnString), lcase(Server.MapPath("snitz_forums_2000.mdb")))> 0 then Response.Write "
" & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ "
" & _ "אזהרה:יתכן שמיקום קובץ האקסס של מסד נתונים שלך אינו מאובטח.

" & _ "אנא שקול להזיז את מסד הנתונים מ- " & Server.MapPath("snitz_forums_2000.mdb") & "לתיקיה שאינה נגישה ישירות באמצעות כתובת רשת " & _ "ו/או לשנות את שמו של קובץ מסד הנתונים." & _ "

(אחרי הזזת מסד הנתונים או שינוי שמו, זכור לשנות את הגדרת ה-strConnString ב-config.asp.)" & _ "

" & vbNewLine end if case "sqlserver" if instr(lcase(strConnString), ";uid=sa;")> 0 then Response.Write "
" & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ "
" & _ "אזהרה: אתה מתחבר לשרת ה-MS SQL שלך בשם המשתמשsa.

" & _ " לאחר שתשלים את ההתקנה, שקול את יצירתו של משתמש חדש עם הרשאות נמוכות יותר" & _ " והשתמש בו על מנת להתחבר למסד הנתונים במקום המשתמש הנוכחי." & _ "

" & vbNewLine end if case "mysql" if instr(lcase(strConnString), ";uid=root;")> 0 then Response.Write "
" & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ "
" & _ "אזהרה: אתה מתחבר לשרת ה-MS SQL שלך בשם המשתמשroot.

" & _ " לאחר שתשלים את ההתקנה, שקול את יצירתו של משתמש חדש עם הרשאות נמוכות יותר" & _ " והשתמש בו על מנת להתחבר למסד הנתונים במקום המשתמש הנוכחי." & _ "

" & vbNewLine end if end select Response.Write " " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ "
" & vbNewLine & _ " " & getCurrentIcon(strIconFolderOpen,"","align=""absmiddle""") & " כל הפורומים
" & vbNewLine & _ " " & getCurrentIcon(strIconBar,"","align=""absmiddle""") & getCurrentIcon(strIconFolderOpenTopic,"","align=""absmiddle""") & " אזור מנהל
" & vbNewLine & _ "
" & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ "
" & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine 'Response.Write " " & vbNewLine & _ '" " & vbNewLine & _ '" " & vbNewLine Response.Write "
אפשרויות ניהול
" & vbNewLine & _ "

הגדרת אפשרויות פורום:" & vbNewLine & _ "

" & vbNewLine & _ "
" & vbNewLine & _ "

אפשרויות והגדרות נוספות:" & vbNewLine & _ "

" & vbNewLine & _ "
" & vbNewLine & _ '"

מידע חשוב מפורום סניץ 2000: " & vbNewLine & _ '"

" & vbNewLine & _ "
" & vbNewLine & _ "
" & vbNewLine %><% '---- START FOOTER ---- %> <% Response.Write " " & vbNewLine & _ " " & vbNewLine & _ "" & vbNewLine & _ "" & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ "
" & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ "
" & strForumTitle & "© " & strCopyright & "" & getCurrentIcon(strIconGoUp,"עבור לראש הדף","align=""right""") & "
" & vbNewLine & _ "
" & vbNewLine & _ "" & vbNewLine & _ " " & vbNewLine if strShowTimer = "1" then Response.Write " " & vbNewLine end if %> <% Response.Write " " & vbNewLine & _ "
" & chkString(replace(strTimerPhrase, "[TIMER]", abs(round(StopTimer(1), 2)), 1, -1, 1),"display") & " " & vbNewline '## END - REMOVAL, MODIFICATION OR CIRCUMVENTING THIS CODE WILL VIOLATE THE SNITZ FORUMS 2000 LICENSE AGREEMENT %>
Snitz Hebrew Forums - מערכת פורומים בעברית גרסה <%=HEB_VERSION%>
תרגום עברי באדיבות קידום אתרים
<% Response.Write "" '## START - REMOVAL, MODIFICATION OR CIRCUMVENTING THIS CODE WILL VIOLATE THE SNITZ FORUMS 2000 LICENSE AGREEMENT Response.Write "" if strShowImagePoweredBy = "1" then Response.Write getCurrentIcon("logo_powered_by.gif||","מונע על ידי: " & strVersion,"") else Response.Write "פורום סניץ 2000" end if Response.Write "
" & vbNewLine & _ "" & vbNewLine & _ "" & vbNewLine my_Conn.Close set my_Conn = nothing %> <% '---- END FOOTER ---- %><% Response.End %>