you will need to make a function to call on aaaabs
PHP Code:
if( $edit || $new )
{
$Poll = array( "active" => 1, "question" => "", "options" => array( ), "votes" => "", "voters" => "", "multiple" => 0, "closeDaysAfter" => 0, "closed" => 0, "threadid" => 0, "createdinThread" => 0 );
$aaaaam = "";
$pollOptionList = "";
$totalOptions = 5;
for( $i = 0; $i < $totalOptions; $i++ )
{
$pollOptionList .= (aaaabs);
}
if( $edit )
{
$Poll = $TSUE["TSUE_Database"]->query_result("SELECT active, question, options, votes, voters, multiple, closeDaysAfter, closed, threadid FROM tsue_poll WHERE pid = " . $TSUE["TSUE_Database"]->escape($edit));
if( !$Poll )
{
return errormessage(get_phrase("message_content_error"));
}
$aaaaam = array( "edit" => $edit );
$pollOptions = tsue_explode("~", $Poll["options"]);
$_pollOptionList = "";
foreach( $pollOptions as $pollOption )
{
$_pollOptionList .= aaaabs($pollOption);
$totalOptions++;
}
$pollOptionList = $_pollOptionList . $pollOptionList;
addbreadcrumb(array( get_phrase("button_edit") . ": " . $Poll["question"] => TSUE_ADMINCP_URL . "?action=" . $TSUE["action"] . "&do=" . $TSUE["do"] . "&edit=" . $edit ));
}
else
{
addbreadcrumb(array( get_phrase("poll_create_new") => TSUE_ADMINCP_URL . "?action=" . $TSUE["action"] . "&do=" . $TSUE["do"] . "&new=1" ));
}
was wokring when i did test on it ok just edit
ill have a look at it and fix it..not been coding it for some time this is my last update but ill have look at it