<% '################################################################################# '## 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 Response.Write " " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ "
" & vbNewLine & _ " " & getCurrentIcon(strIconFolderOpen,"","align=""absmiddle""") & " כל הפורומים
" & vbNewLine & _ " " & getCurrentIcon(strIconBar,"","align=""absmiddle""") & getCurrentIcon(strIconFolderOpen,"","align=""absmiddle""") & " אזור מנהל
" & vbNewLine & _ " " & getCurrentIcon(strIconBlank,"","align=""absmiddle""") & getCurrentIcon(strIconBar,"","align=""absmiddle""") & getCurrentIcon(strIconFolderOpenTopic,"","align=""absmiddle""") & " מחיקת הפורום או אחסונו בארכיון

" & vbNewLine strWhatToDo = request("action") if strWhatToDo = "" then strWhatToDo = "default" end if Select Case strWhatToDo Case "updateArchive" if Request("id") = "" or IsNull(Request("id")) then Response.write "

ארעה בעיה!

" & 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 end if Response.Write " " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ "
" & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ "
ניהול לו""ז אחסון הפורום בארכיון

    " & vbNewLine reqID = split(Request.Form("id"), ",") for i = 0 to ubound(reqID) tmpStr = "archSched" & trim(reqID(i)) if tmpStr = "" then tmpStr = NULL strSQL = "UPDATE " & strTablePrefix & "FORUM SET F_ARCHIVE_SCHED = " & cLng("0" & Request.Form(tmpStr)) strSQL = strSQL & " WHERE FORUM_ID = " & cLng("0" & trim(reqID(i))) my_conn.execute(strSQL),,adCmdText + adExecuteNoRecords Response.Write "
  • לו""ז האחסון בארכיון עבור" & GetForumName(reqID(i)) & " נקבע לכל " & Request.Form(tmpStr) & " ימים.
  • " & vbNewLine next Response.Write "

" & vbNewLine & _ "
" & vbNewLine & _ "
" & vbNewLine & _ "
" & vbNewLine & _ " חזרה לניהול פורומים

" & vbNewLine Case "default" '################ ARCHIVE Response.Write " " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ "
" & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ "
אפשרויות ניהול אחסון הפורום בארכיון
תזכורת לאחסון בארכיון:
" & vbNewLine strForumIDN = request("id") if strForumIDN = "" then strsql = "SELECT CAT_ID, FORUM_ID, F_L_ARCHIVE,F_ARCHIVE_SCHED, F_SUBJECT FROM " & strTablePrefix & "FORUM ORDER BY CAT_ID, F_SUBJECT DESC" set drs = my_conn.execute(strsql) thisCat = 0 if drs.eof then Response.Write " לא נמצאו פורומים!" & vbNewLine else Response.Write "
" & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine do until drs.eof if (IsNull(drs("F_L_ARCHIVE"))) or (drs("F_L_ARCHIVE") = "") then archive_date = "לא אוחסנו" else archive_date = StrToDate(drs("F_L_ARCHIVE")) end if Response.Write " " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine thisCat = drs("CAT_ID") drs.movenext loop Response.Write " " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ "
" & drs("F_SUBJECT") & " לו""ז אחסון בארכיון " & " ימים" & "
" & vbNewLine & _ "
" & vbNewLine end if set drs = nothing Response.Write "
" & vbNewLine & _ "
" & vbNewLine & _ "
חזרה לניהול פורומים

" & vbNewLine end if end Select %><% '---- 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 Function GetForumName(fID) '## Forum_SQL strSql = "SELECT F.F_SUBJECT " strSql = strSql & " FROM " & strTablePrefix & "FORUM F" strSql = strSql & " WHERE F.FORUM_ID = " & fID set rsGetForumName = my_Conn.Execute(strSql) if rsGetForumName.bof or rsGetForumName.eof then GetForumName = "" else GetForumName = rsGetForumName("F_SUBJECT") end if set rsGetForumName = nothing end Function %>