⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 poll.php

📁 bmb的论坛
💻 PHP
字号:
<?
/* BMForum Plus! Bulletin Board Systems Version : Plus!  This is a freeware, but don't change the copyright information. A SourceForge Project - GNU Licence project. Web Site: http://www.bmforum.com Copyright (C) Bluview Technology*/

include_once("datafile/config.php");
include_once("getskin.php");
include_once("post_global.php");
include_once("lang/$language/poll.php");
include_once("newtem/$temfilename/post_global.php");

get_forum_info();

if ($forum_pwd<>"" && $forum_pwd<>"d41d8cd98f00b204e9800998ecf8427e" && $job<>"login" && $_COOKIE['b'.$forumid.'mb']<>$forum_pwd) {
	echo "<meta http-equiv=\"Refresh\" content=\"0; URL=forums.php?forumid=$forumid\">";
	exit;
}
$ford=explode("_",$forum_ford);
if($ford[0]==1 && ($postamount<$ford[1] || $userbym<$ford[2] || $usermoney<$ford[3]) && $usertype[21]!="1" && $usertype[22]!="1"){
	include("header.php");
	navi_bar($error[4],
"<a href=\"forums.php?forumid=$forumid\">$forum_name</a>",
$error[5],"no");
	msg_box($error[6],"$error[7]");
	include("footer.php");
	exit;
}

if ($forum_style<>"") {
	if (file_exists("datafile/style/".basename($forum_style))) include("datafile/style/".basename($forum_style));
}
if ($canpoll!="1" && $login_status=="1") {
	include("header.php");
	navi_bar($navi_bar_des,$navi_bar_l2,"$tip[0]");
	$status="$tip[1]";
	print_err();
	include("footer.php");
	exit;
}
if ($flood_control && $username && !flood_limit($username,$flood_control)) {
	include_once("header.php");
	navi_bar($navi_bar_des,$navi_bar_l2,"$tip[2]",0,0);
	$status="$tip[3]";
	print_err();
	$step=0;
}
if($needpostver==1) $filepostlist="trash.php";
else $filepostlist="list.php";
if($step==2) {
	//----Check-------
	$check=check_data("vote");
	if ($check) {
		if (empty($usericon)) $usericon="ran";
		if (!isset($articledes)) $articledes=""; else $articledes=stripslashes($articledes);
		//-----Check the input------
		$articlecontent=stripslashes($articlecontent); $articlecontent=safe_convert($articlecontent);
		$articletitle=stripslashes($articletitle); $articletitle=str_replace(",","锛

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -