السلام عليكم
اقتراحي هو اضافة
منتدى الافلام والمسلسلات الاجنبية
if ( > 0)
{
var survey_choice = "الخيار";
var survey_votes_count = "عدد الأصوات";
var survey_percentage = "النسبة";
var survey_total_votes = "إجمالي الأصوات";
var survey_only_members_can_vote = "ملاحظة: لا يسمح بالتصويت الا للأعضاء.";
var survey_already_voted_can_change = "ملاحظة: انت قمت بالتصويت سابقا وخيارك يظهر بلون مختلف أعلاه.
لتغيير خيارك اضغط على خيار آخر.";
var survey_closed = "ملاحظة: تم إغلاق هذا الاستفتاء.";
var survey_click_to_vote = "ملاحظة: للتصويت إضغط على أحد الخيارات أعلاه.";
var survey_only_certain_members = "لا يسمح للتصويت في هذا الاستفتاء
إلا للأعضاء المطابقون للمواصفات التالية:";
var survey_only_certain_members_posts = "المشاركات";
var survey_only_certain_members_days = "الأيام منذ تسجيل العضو";
var survey_min_limit = "العدد الإدنى";
var survey_current = "العدد الحالي";
var survey_secret = "- سرّي -";
var survey_waiting = "ملاحظة: لم يتم فتح التصويت لهذا الإستفتاء حتى الآن.";
var id = 358;
var percent = 0;
var px = 0;
var percentStr ;
var memberPosts = 0;
var memberDays = 0;
var memberID = 43;
var surveyAllowed = true;
var surveyMinPosts = surveyinfo_minposts;
var surveyMinDays = surveyinfo_mindays;
if (memberID > 0)
{
memberDays = 11;
memberPosts = 0;
if (surveyMinDays > memberDays) surveyAllowed = false;
if (surveyMinPosts > memberPosts) surveyAllowed = false;
}
var thiscount ;
var surveyTotal = x;
var percentStr ;
var px ;
var surveyOpen = true;
var surveysecret = false;
if (surveyinfo_secret == 1)surveysecret = true;
if (surveyinfo_active == 0)surveyOpen = false;
var surveyWaiting = 2;
var z = 0;
var surveyQuestion = surveyinfo_qusetion;
document.write("</td>");
if ( > 0)
{
document.write("
" + ""+surveyQuestion+" |
"); document.write("
");for (sur = 0; sur < surveyResults.length; sur+=4) { if (surveyResults[sur+2].length > 0) { if (surveysecret) { percent = 0; px = 0; percentStr = ""; thiscount = survey_secret; } else { if (surveyTotal > 0) percent = ((surveyResults[sur+1]*100)/surveyTotal); else percent = 0; percentStr = percent + ""; px = percentStr.indexOf("."); if (px >= 0) percentStr = percentStr.slice(0,px+2) + "%"; else percentStr += ".0%"; thiscount = surveyResults[sur+1]; } if (surveyResults[sur] == surveyVoted) document.write("<tr>[td class=surveyResultTextVoted]"); else document.write("<td class=surveyResultText>"); if ((memberID > 0) && (surveyOpen) && (surveyAllowed) && (surveyVoted != surveyResults[sur])) document.write("[url=https://bladi.forumarabia.com/topic.asp?TOPIC_ID=" + id + "&vote=" + surveyResults[sur] + "]" + surveyResults[sur+2] + "[/url]"); else document.write(surveyResults[sur+2]); if (surveyResults[sur+3].length > 0) { if ((surveyResults[sur+3].indexOf("http://") == 0) || (surveyResults[sur+3].indexOf("f.asp") == 0)) { if ((surveyResults[sur+3].toLowerCase().indexOf(".gif") > 0) || (surveyResults[sur+3].toLowerCase().indexOf(".jpg") > 0)) document.write("<img width=200 src=\""+surveyResults[sur+3]+"\">"); else document.write("+"\"]" + surveyResults[sur+3] + ""); } else document.write("<font color=gray>"+surveyResults[sur+3]); } document.write("</td><td dir=ltr class=surveyResultNumber>" + thiscount + "</td><td dir=ltr class=surveyResultPercentage>" + percentStr + "</td>" + "<td class=surveyResultPercentage>" + "" + "</td>
"); }} document.write("<td class=surveyHeader>"+survey_total_votes + ":</td><td dir=ltr class=surveyHeader>"+surveyTotal + "</td><td dir=ltr class=surveyHeader>100%</td>" + "<td class=surveyResultPercentage> </td>
"); document.write("
");
if (surveyWaiting == 1) document.write(survey_waiting);
else if (surveyOpen == false) document.write(survey_closed);
else if (memberID < 1) document.write(survey_only_members_can_vote);
else if (surveyVoted > 0) document.write(survey_already_voted_can_change);
else document.write(survey_click_to_vote);
if ((surveyMinPosts + surveyMinDays) > 0)
{
document.write("" + survey_only_certain_members
+ "
<table border=0 cellspacing=1 cellpadding=2 class=surveyTable>[tr]<td class=surveyResultTextVoted> </td><td class=surveyResultTextVoted>");
if (memberID > 0) document.write(survey_current + "</td><td class=surveyResultTextVoted>");
document.write(survey_min_limit + "</td>[/tr]");
document.write("[tr]<td class=surveyResultText>" + survey_only_certain_members_posts
+ "</td><td class=surveyHeader>");
if (memberID > 0) document.write(memberPosts + "</td><td class=surveyHeader>");
document.write(surveyMinPosts + "</td>[/tr]");
document.write("[tr]<td class=surveyResultText>" + survey_only_certain_members_days
+ "</td><td class=surveyHeader>");
if (memberID > 0) document.write(memberDays + "</td><td class=surveyHeader>");
document.write(surveyMinDays + "</td>[/tr]");
}
else document.write("<table>");
document.write("");
}
}
if ( > 0)
{
var survey_choice = "الخيار";
var survey_votes_count = "عدد الأصوات";
var survey_percentage = "النسبة";
var survey_total_votes = "إجمالي الأصوات";
var survey_only_members_can_vote = "ملاحظة: لا يسمح بالتصويت الا للأعضاء.";
var survey_already_voted_can_change = "ملاحظة: انت قمت بالتصويت سابقا وخيارك يظهر بلون مختلف أعلاه.
لتغيير خيارك اضغط على خيار آخر.";
var survey_closed = "ملاحظة: تم إغلاق هذا الاستفتاء.";
var survey_click_to_vote = "ملاحظة: للتصويت إضغط على أحد الخيارات أعلاه.";
var survey_only_certain_members = "لا يسمح للتصويت في هذا الاستفتاء
إلا للأعضاء المطابقون للمواصفات التالية:";
var survey_only_certain_members_posts = "المشاركات";
var survey_only_certain_members_days = "الأيام منذ تسجيل العضو";
var survey_min_limit = "العدد الإدنى";
var survey_current = "العدد الحالي";
var survey_secret = "- سرّي -";
var survey_waiting = "ملاحظة: لم يتم فتح التصويت لهذا الإستفتاء حتى الآن.";
var id = 358;
var percent = 0;
var px = 0;
var percentStr ;
var memberPosts = 0;
var memberDays = 0;
var memberID = 43;
var surveyAllowed = true;
var surveyMinPosts = surveyinfo_minposts;
var surveyMinDays = surveyinfo_mindays;
if (memberID > 0)
{
memberDays = 11;
memberPosts = 0;
if (surveyMinDays > memberDays) surveyAllowed = false;
if (surveyMinPosts > memberPosts) surveyAllowed = false;
}
var thiscount ;
var surveyTotal = x;
var percentStr ;
var px ;
var surveyOpen = true;
var surveysecret = false;
if (surveyinfo_secret == 1)surveysecret = true;
if (surveyinfo_active == 0)surveyOpen = false;
var surveyWaiting = 2;
var z = 0;
var surveyQuestion = surveyinfo_qusetion;
document.write("[/td]");
if ( > 0)
{
document.write("
" + ""+surveyQuestion+" |
"); document.write("
");for (sur = 0; sur < surveyResults.length; sur+=4) { if (surveyResults[sur+2].length > 0) { if (surveysecret) { percent = 0; px = 0; percentStr = ""; thiscount = survey_secret; } else { if (surveyTotal > 0) percent = ((surveyResults[sur+1]*100)/surveyTotal); else percent = 0; percentStr = percent + ""; px = percentStr.indexOf("."); if (px >= 0) percentStr = percentStr.slice(0,px+2) + "%"; else percentStr += ".0%"; thiscount = surveyResults[sur+1]; } if (surveyResults[sur] == surveyVoted) document.write("<tr><td class=surveyResultTextVoted>"); else document.write("");
if ((memberID > 0) && (surveyOpen) && (surveyAllowed) && (surveyVoted != surveyResults[sur])) document.write("[url=https://bladi.forumarabia.com/topic.asp?TOPIC_ID=" + id + "&vote=" + surveyResults[sur] + "]" + surveyResults[sur+2] + "[/url]"); else document.write(surveyResults[sur+2]);
if (surveyResults[sur+3].length > 0) { if ((surveyResults[sur+3].indexOf("http://") == 0) || (surveyResults[sur+3].indexOf("f.asp") == 0)) { if ((surveyResults[sur+3].toLowerCase().indexOf(".gif") > 0) || (surveyResults[sur+3].toLowerCase().indexOf(".jpg") > 0)) document.write(" <img width=200 src=\""+surveyResults[sur+3]+"\">"); else document.write(" +"\"]" + surveyResults[sur+3] + ""); } else document.write(" <font color=gray>"+surveyResults[sur+3]); }
document.write(" | " + thiscount + " | " + percentStr + " | " + "" + "" + " |
"); }} document.write("" + " |
"); document.write("
");
if (surveyWaiting == 1) document.write(survey_waiting);
else if (surveyOpen == false) document.write(survey_closed);
else if (memberID < 1) document.write(survey_only_members_can_vote);
else if (surveyVoted > 0) document.write(survey_already_voted_can_change);
else document.write(survey_click_to_vote);
if ((surveyMinPosts + surveyMinDays) > 0)
{
document.write("" + survey_only_certain_members
+ "
<table border=0 cellspacing=1 cellpadding=2 class=surveyTable>[tr][td class=surveyResultTextVoted] [/td][td class=surveyResultTextVoted]");
if (memberID > 0) document.write(survey_current + "[/td][td class=surveyResultTextVoted]");
document.write(survey_min_limit + "[/td][/tr]");
document.write("[tr][td class=surveyResultText]" + survey_only_certain_members_posts
+ "[/td][td class=surveyHeader]");
if (memberID > 0) document.write(memberPosts + "[/td][td class=surveyHeader]");
document.write(surveyMinPosts + "[/td][/tr]");
document.write("[tr][td class=surveyResultText]" + survey_only_certain_members_days
+ "[/td][td class=surveyHeader]");
if (memberID > 0) document.write(memberDays + "[/td][td class=surveyHeader]");
document.write(surveyMinDays + "[/td][/tr]");
}
else document.write("<table>");
document.write("");
}
}