Zeile 6 | Zeile 6 |
---|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/about/license *
|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/about/license *
|
* $Id: ratethread.php 3809 2008-05-03 04:43:53Z Tikitiki $
| * $Id: ratethread.php 5379 2011-02-21 11:06:42Z Tomm $
|
*/
define("IN_MYBB", 1);
|
*/
define("IN_MYBB", 1);
|
| define('THIS_SCRIPT', 'ratethread.php');
|
$templatelist = ''; require_once "./global.php";
| $templatelist = ''; require_once "./global.php";
|
Zeile 66 | Zeile 67 |
---|
$query = $db->simple_select("threadratings", "*", "{$whereclause} AND tid='{$tid}'"); $ratecheck = $db->fetch_array($query);
|
$query = $db->simple_select("threadratings", "*", "{$whereclause} AND tid='{$tid}'"); $ratecheck = $db->fetch_array($query);
|
if($ratecheck['rid'] || $mybb->cookies['mybbthreadrate'][$tid])
| if($ratecheck['rid'] || $mybb->cookies['mybbratethread'][$tid])
|
{ error($lang->error_alreadyratedthread); }
| { error($lang->error_alreadyratedthread); }
|