Pastebin
API
tools
faq
paste
Login
Sign up
Please fix the following errors:
New Paste
Syntax Highlighting
Search "tag" (425 hits in 46 files) C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\administrator\cat_add.php (2 hits) Line 21: $name = htmlentities(strip_tags($_REQUEST['name']), ENT_COMPAT, "UTF-8"); Line 22: $seo = htmlentities(strip_tags($_REQUEST['seo']), ENT_COMPAT, "UTF-8"); C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\administrator\cat_edit.php (2 hits) Line 24: $name = htmlentities(strip_tags($_REQUEST['name']), ENT_COMPAT, "UTF-8"); Line 25: $seo = htmlentities(strip_tags($_REQUEST['seo']), ENT_COMPAT, "UTF-8"); C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\administrator\css\boxes.php (3 hits) Line 774: .head-tag, .head-tag-product { background-image:url(<?php echo $iurl;?>/fam_tag_orange.gif); } Line 774: .head-tag, .head-tag-product { background-image:url(<?php echo $iurl;?>/fam_tag_orange.gif); } Line 774: .head-tag, .head-tag-product { background-image:url(<?php echo $iurl;?>/fam_tag_orange.gif); } C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\administrator\questions_edit.php (1 hits) Line 43: $arr = array("username", "title", "question", "tags", "category", "vote_yes", "vote_no", "active", "viewcount"); C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\ask.php (2 hits) Line 25: $question = htmlentities(strip_tags($_REQUEST['question']), ENT_COMPAT, "UTF-8"); Line 42: $query="INSERT INTO posts SET USERID='".mysql_real_escape_string($USERID)."', title='".mysql_real_escape_string($question)."',question='".mysql_real_escape_string($question)."', tags='".mysql_real_escape_string($question)."', category='".mysql_real_escape_string($category)."', time_added='".time()."', date_added='".date("Y-m-d")."' $addtosql"; C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\changeemail.php (2 hits) Line 40: $newemail = htmlentities(strip_tags($_REQUEST[email])); Line 129: $notify = intval(htmlentities(strip_tags($_REQUEST[notify]))); C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\changepass.php (1 hits) Line 43: $password = htmlentities(strip_tags($_REQUEST[npassword])); C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\confirmemail.php (1 hits) Line 20: $code = htmlentities(strip_tags($_REQUEST['code']), ENT_COMPAT, "UTF-8"); C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\css\apps.php (1 hits) Line 266: .postTxt, .tagTxt{font-size:11px; color:#999999} C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\css\common.php (2 hits) Line 21: .tagCloud{list-style:none;margin:0px;padding:0} Line 58: .tagCloud span,form{margin:0;padding:0} C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\css\text_en.php (2 hits) Line 21: p.tagCloud{line-height:190%} Line 22: .tagCloud{line-height:180%} C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\editaccount.php (3 hits) Line 63: $firstname = htmlentities(strip_tags($_REQUEST['firstname']), ENT_COMPAT, "UTF-8"); Line 64: $lastname = htmlentities(strip_tags($_REQUEST['lastname']), ENT_COMPAT, "UTF-8"); Line 65: $description = htmlentities(strip_tags($_REQUEST['vdescription']), ENT_COMPAT, "UTF-8"); C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\forgot.php (1 hits) Line 18: $email = htmlentities(strip_tags($_REQUEST['email']), ENT_COMPAT, "UTF-8"); C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\include\functions\main.php (2 hits) Line 419: function insert_get_tags($a) Line 421: $results = $a[tags]; C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\include\lang\english.php (1 hits) Line 188: $lang['184'] = "Tags"; C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\include\lang\french.php (1 hits) Line 188: $lang['184'] = "Tags"; C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\libraries\adodb\adodb-connection.inc.php (2 hits) Line 146: else echo strip_tags($msg); Line 414: Advantages include: C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\libraries\adodb\adodb-recordset.inc.php (4 hits) Line 94: * Generate a SELECT tag string from a recordset, and return the string. Line 99: * @param name name of SELECT tag Line 104: * @param [selectAttr] additional attributes to defined for SELECT tag. Line 122: * Generate a SELECT tag string from a recordset, and return the string. C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\libraries\adodb\adodb-session.php (1 hits) Line 63: you can tag a session with an EXPIREREF, and before the session C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\libraries\adodb\toexport.inc.php (3 hits) Line 79: $v = strip_tags(str_replace("\n",$replaceNewLine,str_replace($sep,$sepreplace,$v))); Line 98: $v = strip_tags(str_replace("\n",$replaceNewLine,str_replace($sep,$sepreplace,$v))); Line 106: $v = strip_tags(str_replace("\n",$replaceNewLine,str_replace($sep,$sepreplace,$v))); C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\libraries\adodb\tohtml.inc.php (1 hits) Line 26: // $ztabhtml: the table tag attributes (optional) C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\libraries\phpmailer\language\phpmailer.lang-no.php (2 hits) Line 10: 'mottager adresse.'; Line 17: 'mottagere feilet: '; C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\libraries\phpmailer\language\phpmailer.lang-se.php (2 hits) Line 11: 'mottagares e-postadress.'; Line 18: 'mottagare �r felaktig: '; C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\login.php (2 hits) Line 25: $username = htmlentities(strip_tags($_REQUEST['lusername']), ENT_COMPAT, "UTF-8"); Line 30: $password = htmlentities(strip_tags($_REQUEST['lpassword']), ENT_COMPAT, "UTF-8"); C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\resetpassword.php (1 hits) Line 18: $code = htmlentities(strip_tags($_REQUEST['code']), ENT_COMPAT, "UTF-8"); C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\search.php (2 hits) Line 36: $key = htmlentities(strip_tags($_REQUEST['key']), ENT_COMPAT, "UTF-8"); Line 37: $text = htmlentities(strip_tags($_REQUEST['query']), ENT_COMPAT, "UTF-8"); C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\signup.php (5 hits) Line 26: $username = htmlentities(strip_tags($_REQUEST['username']), ENT_COMPAT, "UTF-8"); Line 29: $email = htmlentities(strip_tags($_REQUEST['email']), ENT_COMPAT, "UTF-8"); Line 30: $redirect = htmlentities(strip_tags($_REQUEST['redirect']), ENT_COMPAT, "UTF-8"); Line 38: $password = htmlentities(strip_tags($_REQUEST['password']), ENT_COMPAT, "UTF-8"); Line 39: $confirmpassword = htmlentities(strip_tags($_REQUEST['confirmpassword']), ENT_COMPAT, "UTF-8"); C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\smarty\libs\internals\core.load_plugins.php (1 hits) Line 110: $_message = "unknown tag - '$_name'"; C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\smarty\libs\internals\core.process_compiled_include.php (1 hits) Line 9: * Replace nocache-tags by results of the corresponding non-cacheable C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\smarty\libs\internals\core.run_insert_handler.php (3 hits) Line 9: * Handle insert tags Line 26: if (!isset($smarty->_cache_info['insert_tags'][$_name])) { Line 27: $smarty->_cache_info['insert_tags'][$_name] = array('insert', C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\smarty\libs\internals\core.write_cache_file.php (7 hits) Line 34: // collapse nocache.../nocache-tags Line 36: // remove everything between every pair of outermost noache.../nocache-tags Line 37: // and replace it by a single nocache-tag Line 38: // this new nocache-tag will be replaced by dynamic contents in Line 48: // nocache tag Line 49: if ($match[1][$j]) { // closing tag Line 52: } else { // opening tag C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\smarty\libs\internals\core.write_compiled_include.php (4 hits) Line 18: $_tag_start = 'if \(\$this->caching && \!\$this->_cache_including\) \{ echo \'\{nocache\:('.$params['cache_serial'].')#(\d+)\}\';\}'; Line 19: $_tag_end = 'if \(\$this->caching && \!\$this->_cache_including\) \{ echo \'\{/nocache\:(\\2)#(\\3)\}\';\}'; Line 21: preg_match_all('!('.$_tag_start.'(.*)'.$_tag_end.')!Us', Line 21: preg_match_all('!('.$_tag_start.'(.*)'.$_tag_end.')!Us', C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\smarty\libs\plugins\compiler.assign.php (2 hits) Line 19: function smarty_compiler_assign($tag_attrs, &$compiler) Line 21: $_params = $compiler->_parse_attrs($tag_attrs); C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\smarty\libs\plugins\function.config_load.php (1 hits) Line 39: $smarty->trigger_error("missing 'file' attribute in config_load tag", E_USER_ERROR, __FILE__, __LINE__); C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\smarty\libs\plugins\function.html_image.php (1 hits) Line 15: * Purpose: format HTML tags for the image<br> C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\smarty\libs\plugins\function.html_options.php (1 hits) Line 20: * Purpose: Prints the list of <option> tags generated from C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\smarty\libs\plugins\function.html_select_date.php (3 hits) Line 59: /* <select size>'s of the different <select> tags. Line 64: /* Unparsed attributes common to *ALL* the <select>/<input> tags. Line 67: /* Separate attributes for the tags. */ C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\smarty\libs\plugins\function.mailto.php (1 hits) Line 29: * - extra = (optional) extra tags for the href link C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\smarty\libs\plugins\modifier.nl2br.php (1 hits) Line 18: * - preceed_test = if true, includes preceeding break tags C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\smarty\libs\plugins\modifier.strip_tags.php (7 hits) Line 10: * Smarty strip_tags modifier plugin Line 13: * Name: strip_tags<br> Line 14: * Purpose: strip html tags from text Line 15: * @link http://smarty.php.net/manual/en/language.modifier.strip.tags.php Line 16: * strip_tags (Smarty online manual) Line 21: function smarty_modifier_strip_tags($string, $replace_with_space = true) Line 26: return strip_tags($string); C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\smarty\libs\plugins\outputfilter.trimwhitespace.php (1 hits) Line 49: // preceeded by a php close tag. C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\smarty\libs\Smarty.class.php (14 hits) Line 191: * This determines how Smarty handles "<?php ... ?>" tags in templates. Line 194: * <li>SMARTY_PHP_PASSTHRU -> print tags as plain text</li> Line 195: * <li>SMARTY_PHP_QUOTE -> escape tags as entities</li> Line 196: * <li>SMARTY_PHP_REMOVE -> remove php tags</li> Line 197: * <li>SMARTY_PHP_ALLOW -> execute php tags</li> Line 237: 'PHP_TAGS' => false, Line 251: * The left delimiter used for the template tags. Line 258: * The right delimiter used for the template tags. Line 435: * keeps track of tag hierarchy Line 439: var $_tag_stack = array(); Line 1171: if (!empty($this->_cache_info['insert_tags'])) { Line 1172: $_params = array('plugins' => $this->_cache_info['insert_tags']); Line 1200: if (@count($this->_cache_info['insert_tags']) == 0 Line 1280: // strip nocache-tags from output C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\smarty\libs\Smarty_Compiler.class.php (312 hits) Line 272: /* Gather all template tags. */ Line 274: $template_tags = $_match[1]; Line 275: /* Split content by template tags to obtain non-template content. */ Line 280: /* match anything resembling php tags */ Line 282: /* replace tags with placeholders to prevent recursive replacements */ Line 294: /* quote php tags */ Line 297: /* remove php tags */ Line 300: /* SMARTY_PHP_ALLOW, but echo non php starting tags */ Line 308: /* Compile the template tags into PHP code. */ Line 309: $compiled_tags = array(); Line 310: for ($i = 0, $for_max = count($template_tags); $i < $for_max; $i++) { Line 312: $compiled_tags[] = $this->_compile_tag($template_tags[$i]); Line 312: $compiled_tags[] = $this->_compile_tag($template_tags[$i]); Line 312: $compiled_tags[] = $this->_compile_tag($template_tags[$i]); Line 313: $this->_current_line_no += substr_count($template_tags[$i], "\n"); Line 315: if (count($this->_tag_stack)>0) { Line 316: list($_open_tag, $_line_no) = end($this->_tag_stack); Line 316: list($_open_tag, $_line_no) = end($this->_tag_stack); Line 317: $this->_syntax_error("unclosed tag \{$_open_tag} (opened line $_line_no).", E_USER_ERROR, __FILE__, __LINE__); Line 317: $this->_syntax_error("unclosed tag \{$_open_tag} (opened line $_line_no).", E_USER_ERROR, __FILE__, __LINE__); Line 324: for ($i = 0, $for_max = count($compiled_tags); $i < $for_max; $i++) { Line 325: if ($compiled_tags[$i] == '') { Line 326: // tag result empty, remove first newline from following text block Line 329: $compiled_content .= $text_blocks[$i].$compiled_tags[$i]; Line 333: /* Reformat data between 'strip' and '/strip' tags, removing spaces, tabs and newlines. */ Line 335: $strip_tags = $_match[0]; Line 336: $strip_tags_modified = preg_replace("~{$ldq}/?strip{$rdq}|[\t ]+$|^[\t ]+~m", '', $strip_tags); Line 336: $strip_tags_modified = preg_replace("~{$ldq}/?strip{$rdq}|[\t ]+$|^[\t ]+~m", '', $strip_tags); Line 337: $strip_tags_modified = preg_replace('~[\r\n]+~m', '', $strip_tags_modified); Line 337: $strip_tags_modified = preg_replace('~[\r\n]+~m', '', $strip_tags_modified); Line 338: for ($i = 0, $for_max = count($strip_tags); $i < $for_max; $i++) Line 340: $this->_quote_replace($strip_tags_modified[$i]), Line 353: // remove unnecessary close/open tags Line 401: * Compile a template tag Line 403: * @param string $template_tag Line 406: function _compile_tag($template_tag) Line 406: function _compile_tag($template_tag) Line 409: if ($template_tag{0} == '*' && $template_tag{strlen($template_tag) - 1} == '*') Line 409: if ($template_tag{0} == '*' && $template_tag{strlen($template_tag) - 1} == '*') Line 409: if ($template_tag{0} == '*' && $template_tag{strlen($template_tag) - 1} == '*') Line 412: /* Split tag into two three parts: command, command modifiers and the arguments. */ Line 416: ~xs', $template_tag, $match)) { Line 417: $this->_syntax_error("unrecognized tag: $template_tag", E_USER_ERROR, __FILE__, __LINE__); Line 417: $this->_syntax_error("unrecognized tag: $template_tag", E_USER_ERROR, __FILE__, __LINE__); Line 420: $tag_command = $match[1]; Line 421: $tag_modifier = isset($match[2]) ? $match[2] : null; Line 422: $tag_args = isset($match[3]) ? $match[3] : null; Line 424: if (preg_match('~^' . $this->_num_const_regexp . '|' . $this->_obj_call_regexp . '|' . $this->_var_regexp . '$~', $tag_command)) { Line 425: /* tag name is a variable or object */ Line 426: $_return = $this->_parse_var_props($tag_command . $tag_modifier, $this->_parse_attrs($tag_args)); Line 426: $_return = $this->_parse_var_props($tag_command . $tag_modifier, $this->_parse_attrs($tag_args)); Line 426: $_return = $this->_parse_var_props($tag_command . $tag_modifier, $this->_parse_attrs($tag_args)); Line 427: if(isset($_tag_attrs['assign'])) { Line 428: return "<?php \$this->assign('" . $this->_dequote($_tag_attrs['assign']) . "', $_return ); ?>\n"; Line 434: /* If the tag name is a registered object, we process it. */ Line 435: if (preg_match('~^\/?' . $this->_reg_obj_regexp . '$~', $tag_command)) { Line 436: return $this->_compile_registered_object_tag($tag_command, $this->_parse_attrs($tag_args), $tag_modifier); Line 436: return $this->_compile_registered_object_tag($tag_command, $this->_parse_attrs($tag_args), $tag_modifier); Line 436: return $this->_compile_registered_object_tag($tag_command, $this->_parse_attrs($tag_args), $tag_modifier); Line 436: return $this->_compile_registered_object_tag($tag_command, $this->_parse_attrs($tag_args), $tag_modifier); Line 439: switch ($tag_command) { Line 441: return $this->_compile_include_tag($tag_args); Line 441: return $this->_compile_include_tag($tag_args); Line 444: return $this->_compile_include_php_tag($tag_args); Line 444: return $this->_compile_include_php_tag($tag_args); Line 447: $this->_push_tag('if'); Line 448: return $this->_compile_if_tag($tag_args); Line 448: return $this->_compile_if_tag($tag_args); Line 451: list($_open_tag) = end($this->_tag_stack); Line 451: list($_open_tag) = end($this->_tag_stack); Line 452: if ($_open_tag != 'if' && $_open_tag != 'elseif') Line 452: if ($_open_tag != 'if' && $_open_tag != 'elseif') Line 455: $this->_push_tag('else'); Line 459: list($_open_tag) = end($this->_tag_stack); Line 459: list($_open_tag) = end($this->_tag_stack); Line 460: if ($_open_tag != 'if' && $_open_tag != 'elseif') Line 460: if ($_open_tag != 'if' && $_open_tag != 'elseif') Line 462: if ($_open_tag == 'if') Line 463: $this->_push_tag('elseif'); Line 464: return $this->_compile_if_tag($tag_args, true); Line 464: return $this->_compile_if_tag($tag_args, true); Line 467: $this->_pop_tag('if'); Line 471: return $this->_compile_capture_tag(true, $tag_args); Line 471: return $this->_compile_capture_tag(true, $tag_args); Line 474: return $this->_compile_capture_tag(false); Line 483: $this->_push_tag('section'); Line 484: return $this->_compile_section_start($tag_args); Line 487: $this->_push_tag('sectionelse'); Line 492: $_open_tag = $this->_pop_tag('section'); Line 492: $_open_tag = $this->_pop_tag('section'); Line 493: if ($_open_tag == 'sectionelse') Line 499: $this->_push_tag('foreach'); Line 500: return $this->_compile_foreach_start($tag_args); Line 504: $this->_push_tag('foreachelse'); Line 508: $_open_tag = $this->_pop_tag('foreach'); Line 508: $_open_tag = $this->_pop_tag('foreach'); Line 509: if ($_open_tag == 'foreachelse') Line 517: if ($tag_command{0}=='/') { Line 518: $this->_pop_tag('strip'); Line 521: return $this->left_delimiter.$tag_command.$this->right_delimiter; Line 524: $this->_push_tag('strip'); Line 527: return $this->left_delimiter.$tag_command.$this->right_delimiter; Line 533: /* handle folded tags replaced by {php} */ Line 537: determins the type of folded tag that was found */ Line 546: if ($this->security && !$this->security_settings['PHP_TAGS']) { Line 547: $this->_syntax_error("(secure mode) php tags not permitted", E_USER_WARNING, __FILE__, __LINE__); Line 555: return $this->_compile_insert_tag($tag_args); Line 555: return $this->_compile_insert_tag($tag_args); Line 558: if ($this->_compile_compiler_tag($tag_command, $tag_args, $output)) { Line 558: if ($this->_compile_compiler_tag($tag_command, $tag_args, $output)) { Line 558: if ($this->_compile_compiler_tag($tag_command, $tag_args, $output)) { Line 560: } else if ($this->_compile_block_tag($tag_command, $tag_args, $tag_modifier, $output)) { Line 560: } else if ($this->_compile_block_tag($tag_command, $tag_args, $tag_modifier, $output)) { Line 560: } else if ($this->_compile_block_tag($tag_command, $tag_args, $tag_modifier, $output)) { Line 560: } else if ($this->_compile_block_tag($tag_command, $tag_args, $tag_modifier, $output)) { Line 562: } else if ($this->_compile_custom_tag($tag_command, $tag_args, $tag_modifier, $output)) { Line 562: } else if ($this->_compile_custom_tag($tag_command, $tag_args, $tag_modifier, $output)) { Line 562: } else if ($this->_compile_custom_tag($tag_command, $tag_args, $tag_modifier, $output)) { Line 562: } else if ($this->_compile_custom_tag($tag_command, $tag_args, $tag_modifier, $output)) { Line 565: $this->_syntax_error("unrecognized tag '$tag_command'", E_USER_ERROR, __FILE__, __LINE__); Line 565: $this->_syntax_error("unrecognized tag '$tag_command'", E_USER_ERROR, __FILE__, __LINE__); Line 573: * compile the custom compiler tag Line 575: * sets $output to the compiled custom compiler tag Line 576: * @param string $tag_command Line 577: * @param string $tag_args Line 581: function _compile_compiler_tag($tag_command, $tag_args, &$output) Line 581: function _compile_compiler_tag($tag_command, $tag_args, &$output) Line 581: function _compile_compiler_tag($tag_command, $tag_args, &$output) Line 590: if (isset($this->_plugins['compiler'][$tag_command])) { Line 592: $plugin_func = $this->_plugins['compiler'][$tag_command][0]; Line 594: $message = "compiler function '$tag_command' is not implemented"; Line 602: else if ($plugin_file = $this->_get_plugin_filepath('compiler', $tag_command)) { Line 607: $plugin_func = 'smarty_compiler_' . $tag_command; Line 612: $this->_plugins['compiler'][$tag_command] = array($plugin_func, null, null, null, true); Line 620: * tag. Line 624: $output = call_user_func_array($plugin_func, array($tag_args, &$this)); Line 626: $output = '<?php ' . $this->_push_cacheable_state('compiler', $tag_command) Line 628: . $this->_pop_cacheable_state('compiler', $tag_command) . ' ?>'; Line 641: * compile block function tag Line 643: * sets $output to compiled block function tag Line 644: * @param string $tag_command Line 645: * @param string $tag_args Line 646: * @param string $tag_modifier Line 650: function _compile_block_tag($tag_command, $tag_args, $tag_modifier, &$output) Line 650: function _compile_block_tag($tag_command, $tag_args, $tag_modifier, &$output) Line 650: function _compile_block_tag($tag_command, $tag_args, $tag_modifier, &$output) Line 650: function _compile_block_tag($tag_command, $tag_args, $tag_modifier, &$output) Line 652: if ($tag_command{0} == '/') { Line 653: $start_tag = false; Line 654: $tag_command = substr($tag_command, 1); Line 654: $tag_command = substr($tag_command, 1); Line 656: $start_tag = true; Line 665: if (isset($this->_plugins['block'][$tag_command])) { Line 667: $plugin_func = $this->_plugins['block'][$tag_command][0]; Line 669: $message = "block function '$tag_command' is not implemented"; Line 677: else if ($plugin_file = $this->_get_plugin_filepath('block', $tag_command)) { Line 682: $plugin_func = 'smarty_block_' . $tag_command; Line 687: $this->_plugins['block'][$tag_command] = array($plugin_func, null, null, null, true); Line 704: $this->_add_plugin('block', $tag_command); Line 706: if ($start_tag) Line 707: $this->_push_tag($tag_command); Line 707: $this->_push_tag($tag_command); Line 709: $this->_pop_tag($tag_command); Line 709: $this->_pop_tag($tag_command); Line 711: if ($start_tag) { Line 712: $output = '<?php ' . $this->_push_cacheable_state('block', $tag_command); Line 713: $attrs = $this->_parse_attrs($tag_args); Line 714: $arg_list = $this->_compile_arg_list('block', $tag_command, $attrs, $_cache_attrs=''); Line 715: $output .= "$_cache_attrs\$this->_tag_stack[] = array('$tag_command', array(".implode(',', $arg_list).')); '; Line 715: $output .= "$_cache_attrs\$this->_tag_stack[] = array('$tag_command', array(".implode(',', $arg_list).')); '; Line 716: $output .= $this->_compile_plugin_call('block', $tag_command).'($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat=true);'; Line 716: $output .= $this->_compile_plugin_call('block', $tag_command).'($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat=true);'; Line 716: $output .= $this->_compile_plugin_call('block', $tag_command).'($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat=true);'; Line 720: $_out_tag_text = $this->_compile_plugin_call('block', $tag_command).'($this->_tag_stack[count($this->_tag_stack)-1][1], $this->_block_content, $this, $_block_repeat=false)'; Line 720: $_out_tag_text = $this->_compile_plugin_call('block', $tag_command).'($this->_tag_stack[count($this->_tag_stack)-1][1], $this->_block_content, $this, $_block_repeat=false)'; Line 720: $_out_tag_text = $this->_compile_plugin_call('block', $tag_command).'($this->_tag_stack[count($this->_tag_stack)-1][1], $this->_block_content, $this, $_block_repeat=false)'; Line 720: $_out_tag_text = $this->_compile_plugin_call('block', $tag_command).'($this->_tag_stack[count($this->_tag_stack)-1][1], $this->_block_content, $this, $_block_repeat=false)'; Line 721: if ($tag_modifier != '') { Line 722: $this->_parse_modifiers($_out_tag_text, $tag_modifier); Line 722: $this->_parse_modifiers($_out_tag_text, $tag_modifier); Line 724: $output .= 'echo '.$_out_tag_text.'; } '; Line 725: $output .= " array_pop(\$this->_tag_stack); " . $this->_pop_cacheable_state('block', $tag_command) . '?>'; Line 725: $output .= " array_pop(\$this->_tag_stack); " . $this->_pop_cacheable_state('block', $tag_command) . '?>'; Line 733: * compile custom function tag Line 735: * @param string $tag_command Line 736: * @param string $tag_args Line 737: * @param string $tag_modifier Line 740: function _compile_custom_tag($tag_command, $tag_args, $tag_modifier, &$output) Line 740: function _compile_custom_tag($tag_command, $tag_args, $tag_modifier, &$output) Line 740: function _compile_custom_tag($tag_command, $tag_args, $tag_modifier, &$output) Line 740: function _compile_custom_tag($tag_command, $tag_args, $tag_modifier, &$output) Line 749: if (isset($this->_plugins['function'][$tag_command])) { Line 751: $plugin_func = $this->_plugins['function'][$tag_command][0]; Line 753: $message = "custom function '$tag_command' is not implemented"; Line 761: else if ($plugin_file = $this->_get_plugin_filepath('function', $tag_command)) { Line 766: $plugin_func = 'smarty_function_' . $tag_command; Line 771: $this->_plugins['function'][$tag_command] = array($plugin_func, null, null, null, true); Line 785: $this->_add_plugin('function', $tag_command); Line 787: $_cacheable_state = $this->_push_cacheable_state('function', $tag_command); Line 788: $attrs = $this->_parse_attrs($tag_args); Line 789: $arg_list = $this->_compile_arg_list('function', $tag_command, $attrs, $_cache_attrs=''); Line 791: $output = $this->_compile_plugin_call('function', $tag_command).'(array('.implode(',', $arg_list)."), \$this)"; Line 792: if($tag_modifier != '') { Line 793: $this->_parse_modifiers($output, $tag_modifier); Line 798: . $this->_pop_cacheable_state('function', $tag_command) . "?>" . $this->_additional_newline; Line 805: * compile a registered object tag Line 807: * @param string $tag_command Line 809: * @param string $tag_modifier Line 812: function _compile_registered_object_tag($tag_command, $attrs, $tag_modifier) Line 812: function _compile_registered_object_tag($tag_command, $attrs, $tag_modifier) Line 812: function _compile_registered_object_tag($tag_command, $attrs, $tag_modifier) Line 814: if ($tag_command{0} == '/') { Line 815: $start_tag = false; Line 816: $tag_command = substr($tag_command, 1); Line 816: $tag_command = substr($tag_command, 1); Line 818: $start_tag = true; Line 821: list($object, $obj_comp) = explode('->', $tag_command); Line 860: if ($start_tag) { Line 861: $prefix = "\$this->_tag_stack[] = array('$obj_comp', $args); "; Line 862: $prefix .= "\$this->_reg_objects['$object'][0]->$obj_comp(\$this->_tag_stack[count(\$this->_tag_stack)-1][1], null, \$this, \$_block_repeat=true); "; Line 862: $prefix .= "\$this->_reg_objects['$object'][0]->$obj_comp(\$this->_tag_stack[count(\$this->_tag_stack)-1][1], null, \$this, \$_block_repeat=true); "; Line 868: $return = "\$this->_reg_objects['$object'][0]->$obj_comp(\$this->_tag_stack[count(\$this->_tag_stack)-1][1], \$this->_obj_block_content, \$this, \$_block_repeat=false)"; Line 868: $return = "\$this->_reg_objects['$object'][0]->$obj_comp(\$this->_tag_stack[count(\$this->_tag_stack)-1][1], \$this->_obj_block_content, \$this, \$_block_repeat=false)"; Line 869: $postfix = "} array_pop(\$this->_tag_stack);"; Line 881: if($tag_modifier != '') { Line 882: $this->_parse_modifiers($return, $tag_modifier); Line 899: * Compile {insert ...} tag Line 901: * @param string $tag_args Line 904: function _compile_insert_tag($tag_args) Line 904: function _compile_insert_tag($tag_args) Line 906: $attrs = $this->_parse_attrs($tag_args); Line 933: * Compile {include ...} tag Line 935: * @param string $tag_args Line 938: function _compile_include_tag($tag_args) Line 938: function _compile_include_tag($tag_args) Line 940: $attrs = $this->_parse_attrs($tag_args); Line 944: $this->_syntax_error("missing 'file' attribute in include tag", E_USER_ERROR, __FILE__, __LINE__); Line 986: * Compile {include ...} tag Line 988: * @param string $tag_args Line 991: function _compile_include_php_tag($tag_args) Line 991: function _compile_include_php_tag($tag_args) Line 993: $attrs = $this->_parse_attrs($tag_args); Line 996: $this->_syntax_error("missing 'file' attribute in include_php tag", E_USER_ERROR, __FILE__, __LINE__); Line 1018: * Compile {section ...} tag Line 1020: * @param string $tag_args Line 1023: function _compile_section_start($tag_args) Line 1025: $attrs = $this->_parse_attrs($tag_args); Line 1123: * Compile {foreach ...} tag. Line 1125: * @param string $tag_args Line 1128: function _compile_foreach_start($tag_args) Line 1130: $attrs = $this->_parse_attrs($tag_args); Line 1186: * Compile {capture} .. {/capture} tags Line 1188: * @param boolean $start true if this is the {capture} tag Line 1189: * @param string $tag_args Line 1193: function _compile_capture_tag($start, $tag_args = '') Line 1193: function _compile_capture_tag($start, $tag_args = '') Line 1195: $attrs = $this->_parse_attrs($tag_args); Line 1222: * Compile {if ...} tag Line 1224: * @param string $tag_args Line 1228: function _compile_if_tag($tag_args, $elseif = false) Line 1228: function _compile_if_tag($tag_args, $elseif = false) Line 1231: /* Tokenize args for 'if' tag. */ Line 1238: )~x', $tag_args, $match); Line 1481: * @param string $tag_args Line 1484: function _parse_attrs($tag_args) Line 1487: /* Tokenize tag attributes. */ Line 1491: ~x', $tag_args, $match); Line 1580: * @param string $tag_attrs Line 2188: * push opening tag-name, file-name and line-number on the tag-stack Line 2188: * push opening tag-name, file-name and line-number on the tag-stack Line 2189: * @param string the opening tag's name Line 2191: function _push_tag($open_tag) Line 2191: function _push_tag($open_tag) Line 2193: array_push($this->_tag_stack, array($open_tag, $this->_current_line_no)); Line 2193: array_push($this->_tag_stack, array($open_tag, $this->_current_line_no)); Line 2197: * pop closing tag-name Line 2198: * raise an error if this stack-top doesn't match with the closing tag Line 2199: * @param string the closing tag's name Line 2200: * @return string the opening tag's name Line 2202: function _pop_tag($close_tag) Line 2202: function _pop_tag($close_tag) Line 2205: if (count($this->_tag_stack)>0) { Line 2206: list($_open_tag, $_line_no) = array_pop($this->_tag_stack); Line 2206: list($_open_tag, $_line_no) = array_pop($this->_tag_stack); Line 2207: if ($close_tag == $_open_tag) { Line 2207: if ($close_tag == $_open_tag) { Line 2208: return $_open_tag; Line 2210: if ($close_tag == 'if' && ($_open_tag == 'else' || $_open_tag == 'elseif' )) { Line 2210: if ($close_tag == 'if' && ($_open_tag == 'else' || $_open_tag == 'elseif' )) { Line 2210: if ($close_tag == 'if' && ($_open_tag == 'else' || $_open_tag == 'elseif' )) { Line 2211: return $this->_pop_tag($close_tag); Line 2211: return $this->_pop_tag($close_tag); Line 2213: if ($close_tag == 'section' && $_open_tag == 'sectionelse') { Line 2213: if ($close_tag == 'section' && $_open_tag == 'sectionelse') { Line 2214: $this->_pop_tag($close_tag); Line 2214: $this->_pop_tag($close_tag); Line 2215: return $_open_tag; Line 2217: if ($close_tag == 'foreach' && $_open_tag == 'foreachelse') { Line 2217: if ($close_tag == 'foreach' && $_open_tag == 'foreachelse') { Line 2218: $this->_pop_tag($close_tag); Line 2218: $this->_pop_tag($close_tag); Line 2219: return $_open_tag; Line 2221: if ($_open_tag == 'else' || $_open_tag == 'elseif') { Line 2221: if ($_open_tag == 'else' || $_open_tag == 'elseif') { Line 2222: $_open_tag = 'if'; Line 2223: } elseif ($_open_tag == 'sectionelse') { Line 2224: $_open_tag = 'section'; Line 2225: } elseif ($_open_tag == 'foreachelse') { Line 2226: $_open_tag = 'foreach'; Line 2228: $message = " expected {/$_open_tag} (opened line $_line_no)."; Line 2230: $this->_syntax_error("mismatched tag {/$close_tag}.$message", Line 2230: $this->_syntax_error("mismatched tag {/$close_tag}.$message", C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\submit_answer.php (1 hits) Line 20: $ansdetails = htmlentities(strip_tags($_REQUEST['ansdetails']), ENT_COMPAT, "UTF-8"); C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\themes\administrator\questions_edit.tpl (5 hits) Line 85: <td class="label"><label for="status">Tags </label></td> Line 87: <input id="tags" name="tags" value="{$ques.tags|stripslashes}" class=" required-entry required-entry input-text" type="text"/> Line 87: <input id="tags" name="tags" value="{$ques.tags|stripslashes}" class=" required-entry required-entry input-text" type="text"/> Line 87: <input id="tags" name="tags" value="{$ques.tags|stripslashes}" class=" required-entry required-entry input-text" type="text"/> Line 89: <td class="scope-label">[TAGS OF THE QUESTION]</td> C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\themes\view.tpl (7 hits) Line 50: {insert name=get_tags assign=looptags tags=$parray.tags} Line 50: {insert name=get_tags assign=looptags tags=$parray.tags} Line 50: {insert name=get_tags assign=looptags tags=$parray.tags} Line 50: {insert name=get_tags assign=looptags tags=$parray.tags} Line 51: {section name=tt loop=$looptags}<a href="{$baseurl}/search?query={$looptags[tt]|stripslashes}">{$looptags[tt]|stripslashes}</a> {/section} Line 51: {section name=tt loop=$looptags}<a href="{$baseurl}/search?query={$looptags[tt]|stripslashes}">{$looptags[tt]|stripslashes}</a> {/section} Line 51: {section name=tt loop=$looptags}<a href="{$baseurl}/search?query={$looptags[tt]|stripslashes}">{$looptags[tt]|stripslashes}</a> {/section} Search "tag" (413 hits in 44 files) C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\administrator\cat_add.php (2 hits) Line 21: $name = htmlentities(strip_tags($_REQUEST['name']), ENT_COMPAT, "UTF-8"); Line 22: $seo = htmlentities(strip_tags($_REQUEST['seo']), ENT_COMPAT, "UTF-8"); C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\administrator\cat_edit.php (2 hits) Line 24: $name = htmlentities(strip_tags($_REQUEST['name']), ENT_COMPAT, "UTF-8"); Line 25: $seo = htmlentities(strip_tags($_REQUEST['seo']), ENT_COMPAT, "UTF-8"); C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\administrator\css\boxes.php (3 hits) Line 774: .head-tag, .head-tag-product { background-image:url(<?php echo $iurl;?>/fam_tag_orange.gif); } Line 774: .head-tag, .head-tag-product { background-image:url(<?php echo $iurl;?>/fam_tag_orange.gif); } Line 774: .head-tag, .head-tag-product { background-image:url(<?php echo $iurl;?>/fam_tag_orange.gif); } C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\administrator\questions_edit.php (1 hits) Line 43: $arr = array("username", "title", "question", "tags", "category", "vote_yes", "vote_no", "active", "viewcount"); C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\ask.php (2 hits) Line 25: $question = htmlentities(strip_tags($_REQUEST['question']), ENT_COMPAT, "UTF-8"); Line 42: $query="INSERT INTO posts SET USERID='".mysql_real_escape_string($USERID)."', title='".mysql_real_escape_string($question)."',question='".mysql_real_escape_string($question)."', tags='".mysql_real_escape_string($question)."', category='".mysql_real_escape_string($category)."', time_added='".time()."', date_added='".date("Y-m-d")."' $addtosql"; C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\changeemail.php (2 hits) Line 40: $newemail = htmlentities(strip_tags($_REQUEST[email])); Line 129: $notify = intval(htmlentities(strip_tags($_REQUEST[notify]))); C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\changepass.php (1 hits) Line 43: $password = htmlentities(strip_tags($_REQUEST[npassword])); C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\confirmemail.php (1 hits) Line 20: $code = htmlentities(strip_tags($_REQUEST['code']), ENT_COMPAT, "UTF-8"); C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\css\apps.php (1 hits) Line 266: .postTxt, .tagTxt{font-size:11px; color:#999999} C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\css\common.php (2 hits) Line 21: .tagCloud{list-style:none;margin:0px;padding:0} Line 58: .tagCloud span,form{margin:0;padding:0} C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\css\text_en.php (2 hits) Line 21: p.tagCloud{line-height:190%} Line 22: .tagCloud{line-height:180%} C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\editaccount.php (3 hits) Line 63: $firstname = htmlentities(strip_tags($_REQUEST['firstname']), ENT_COMPAT, "UTF-8"); Line 64: $lastname = htmlentities(strip_tags($_REQUEST['lastname']), ENT_COMPAT, "UTF-8"); Line 65: $description = htmlentities(strip_tags($_REQUEST['vdescription']), ENT_COMPAT, "UTF-8"); C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\forgot.php (1 hits) Line 18: $email = htmlentities(strip_tags($_REQUEST['email']), ENT_COMPAT, "UTF-8"); C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\include\functions\main.php (2 hits) Line 419: function insert_get_tags($a) Line 421: $results = $a[tags]; C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\include\lang\english.php (1 hits) Line 188: $lang['184'] = "Tags"; C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\include\lang\french.php (1 hits) Line 188: $lang['184'] = "Tags"; C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\libraries\adodb\adodb-connection.inc.php (2 hits) Line 146: else echo strip_tags($msg); Line 414: Advantages include: C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\libraries\adodb\adodb-recordset.inc.php (4 hits) Line 94: * Generate a SELECT tag string from a recordset, and return the string. Line 99: * @param name name of SELECT tag Line 104: * @param [selectAttr] additional attributes to defined for SELECT tag. Line 122: * Generate a SELECT tag string from a recordset, and return the string. C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\libraries\adodb\adodb-session.php (1 hits) Line 63: you can tag a session with an EXPIREREF, and before the session C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\libraries\adodb\toexport.inc.php (3 hits) Line 79: $v = strip_tags(str_replace("\n",$replaceNewLine,str_replace($sep,$sepreplace,$v))); Line 98: $v = strip_tags(str_replace("\n",$replaceNewLine,str_replace($sep,$sepreplace,$v))); Line 106: $v = strip_tags(str_replace("\n",$replaceNewLine,str_replace($sep,$sepreplace,$v))); C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\libraries\adodb\tohtml.inc.php (1 hits) Line 26: // $ztabhtml: the table tag attributes (optional) C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\libraries\phpmailer\language\phpmailer.lang-no.php (2 hits) Line 10: 'mottager adresse.'; Line 17: 'mottagere feilet: '; C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\libraries\phpmailer\language\phpmailer.lang-se.php (2 hits) Line 11: 'mottagares e-postadress.'; Line 18: 'mottagare �r felaktig: '; C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\login.php (2 hits) Line 25: $username = htmlentities(strip_tags($_REQUEST['lusername']), ENT_COMPAT, "UTF-8"); Line 30: $password = htmlentities(strip_tags($_REQUEST['lpassword']), ENT_COMPAT, "UTF-8"); C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\resetpassword.php (1 hits) Line 18: $code = htmlentities(strip_tags($_REQUEST['code']), ENT_COMPAT, "UTF-8"); C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\search.php (2 hits) Line 36: $key = htmlentities(strip_tags($_REQUEST['key']), ENT_COMPAT, "UTF-8"); Line 37: $text = htmlentities(strip_tags($_REQUEST['query']), ENT_COMPAT, "UTF-8"); C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\signup.php (5 hits) Line 26: $username = htmlentities(strip_tags($_REQUEST['username']), ENT_COMPAT, "UTF-8"); Line 29: $email = htmlentities(strip_tags($_REQUEST['email']), ENT_COMPAT, "UTF-8"); Line 30: $redirect = htmlentities(strip_tags($_REQUEST['redirect']), ENT_COMPAT, "UTF-8"); Line 38: $password = htmlentities(strip_tags($_REQUEST['password']), ENT_COMPAT, "UTF-8"); Line 39: $confirmpassword = htmlentities(strip_tags($_REQUEST['confirmpassword']), ENT_COMPAT, "UTF-8"); C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\smarty\libs\internals\core.load_plugins.php (1 hits) Line 110: $_message = "unknown tag - '$_name'"; C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\smarty\libs\internals\core.process_compiled_include.php (1 hits) Line 9: * Replace nocache-tags by results of the corresponding non-cacheable C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\smarty\libs\internals\core.run_insert_handler.php (3 hits) Line 9: * Handle insert tags Line 26: if (!isset($smarty->_cache_info['insert_tags'][$_name])) { Line 27: $smarty->_cache_info['insert_tags'][$_name] = array('insert', C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\smarty\libs\internals\core.write_cache_file.php (7 hits) Line 34: // collapse nocache.../nocache-tags Line 36: // remove everything between every pair of outermost noache.../nocache-tags Line 37: // and replace it by a single nocache-tag Line 38: // this new nocache-tag will be replaced by dynamic contents in Line 48: // nocache tag Line 49: if ($match[1][$j]) { // closing tag Line 52: } else { // opening tag C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\smarty\libs\internals\core.write_compiled_include.php (4 hits) Line 18: $_tag_start = 'if \(\$this->caching && \!\$this->_cache_including\) \{ echo \'\{nocache\:('.$params['cache_serial'].')#(\d+)\}\';\}'; Line 19: $_tag_end = 'if \(\$this->caching && \!\$this->_cache_including\) \{ echo \'\{/nocache\:(\\2)#(\\3)\}\';\}'; Line 21: preg_match_all('!('.$_tag_start.'(.*)'.$_tag_end.')!Us', Line 21: preg_match_all('!('.$_tag_start.'(.*)'.$_tag_end.')!Us', C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\smarty\libs\plugins\compiler.assign.php (2 hits) Line 19: function smarty_compiler_assign($tag_attrs, &$compiler) Line 21: $_params = $compiler->_parse_attrs($tag_attrs); C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\smarty\libs\plugins\function.config_load.php (1 hits) Line 39: $smarty->trigger_error("missing 'file' attribute in config_load tag", E_USER_ERROR, __FILE__, __LINE__); C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\smarty\libs\plugins\function.html_image.php (1 hits) Line 15: * Purpose: format HTML tags for the image<br> C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\smarty\libs\plugins\function.html_options.php (1 hits) Line 20: * Purpose: Prints the list of <option> tags generated from C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\smarty\libs\plugins\function.html_select_date.php (3 hits) Line 59: /* <select size>'s of the different <select> tags. Line 64: /* Unparsed attributes common to *ALL* the <select>/<input> tags. Line 67: /* Separate attributes for the tags. */ C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\smarty\libs\plugins\function.mailto.php (1 hits) Line 29: * - extra = (optional) extra tags for the href link C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\smarty\libs\plugins\modifier.nl2br.php (1 hits) Line 18: * - preceed_test = if true, includes preceeding break tags C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\smarty\libs\plugins\modifier.strip_tags.php (7 hits) Line 10: * Smarty strip_tags modifier plugin Line 13: * Name: strip_tags<br> Line 14: * Purpose: strip html tags from text Line 15: * @link http://smarty.php.net/manual/en/language.modifier.strip.tags.php Line 16: * strip_tags (Smarty online manual) Line 21: function smarty_modifier_strip_tags($string, $replace_with_space = true) Line 26: return strip_tags($string); C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\smarty\libs\plugins\outputfilter.trimwhitespace.php (1 hits) Line 49: // preceeded by a php close tag. C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\smarty\libs\Smarty.class.php (14 hits) Line 191: * This determines how Smarty handles "<?php ... ?>" tags in templates. Line 194: * <li>SMARTY_PHP_PASSTHRU -> print tags as plain text</li> Line 195: * <li>SMARTY_PHP_QUOTE -> escape tags as entities</li> Line 196: * <li>SMARTY_PHP_REMOVE -> remove php tags</li> Line 197: * <li>SMARTY_PHP_ALLOW -> execute php tags</li> Line 237: 'PHP_TAGS' => false, Line 251: * The left delimiter used for the template tags. Line 258: * The right delimiter used for the template tags. Line 435: * keeps track of tag hierarchy Line 439: var $_tag_stack = array(); Line 1171: if (!empty($this->_cache_info['insert_tags'])) { Line 1172: $_params = array('plugins' => $this->_cache_info['insert_tags']); Line 1200: if (@count($this->_cache_info['insert_tags']) == 0 Line 1280: // strip nocache-tags from output C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\smarty\libs\Smarty_Compiler.class.php (312 hits) Line 272: /* Gather all template tags. */ Line 274: $template_tags = $_match[1]; Line 275: /* Split content by template tags to obtain non-template content. */ Line 280: /* match anything resembling php tags */ Line 282: /* replace tags with placeholders to prevent recursive replacements */ Line 294: /* quote php tags */ Line 297: /* remove php tags */ Line 300: /* SMARTY_PHP_ALLOW, but echo non php starting tags */ Line 308: /* Compile the template tags into PHP code. */ Line 309: $compiled_tags = array(); Line 310: for ($i = 0, $for_max = count($template_tags); $i < $for_max; $i++) { Line 312: $compiled_tags[] = $this->_compile_tag($template_tags[$i]); Line 312: $compiled_tags[] = $this->_compile_tag($template_tags[$i]); Line 312: $compiled_tags[] = $this->_compile_tag($template_tags[$i]); Line 313: $this->_current_line_no += substr_count($template_tags[$i], "\n"); Line 315: if (count($this->_tag_stack)>0) { Line 316: list($_open_tag, $_line_no) = end($this->_tag_stack); Line 316: list($_open_tag, $_line_no) = end($this->_tag_stack); Line 317: $this->_syntax_error("unclosed tag \{$_open_tag} (opened line $_line_no).", E_USER_ERROR, __FILE__, __LINE__); Line 317: $this->_syntax_error("unclosed tag \{$_open_tag} (opened line $_line_no).", E_USER_ERROR, __FILE__, __LINE__); Line 324: for ($i = 0, $for_max = count($compiled_tags); $i < $for_max; $i++) { Line 325: if ($compiled_tags[$i] == '') { Line 326: // tag result empty, remove first newline from following text block Line 329: $compiled_content .= $text_blocks[$i].$compiled_tags[$i]; Line 333: /* Reformat data between 'strip' and '/strip' tags, removing spaces, tabs and newlines. */ Line 335: $strip_tags = $_match[0]; Line 336: $strip_tags_modified = preg_replace("~{$ldq}/?strip{$rdq}|[\t ]+$|^[\t ]+~m", '', $strip_tags); Line 336: $strip_tags_modified = preg_replace("~{$ldq}/?strip{$rdq}|[\t ]+$|^[\t ]+~m", '', $strip_tags); Line 337: $strip_tags_modified = preg_replace('~[\r\n]+~m', '', $strip_tags_modified); Line 337: $strip_tags_modified = preg_replace('~[\r\n]+~m', '', $strip_tags_modified); Line 338: for ($i = 0, $for_max = count($strip_tags); $i < $for_max; $i++) Line 340: $this->_quote_replace($strip_tags_modified[$i]), Line 353: // remove unnecessary close/open tags Line 401: * Compile a template tag Line 403: * @param string $template_tag Line 406: function _compile_tag($template_tag) Line 406: function _compile_tag($template_tag) Line 409: if ($template_tag{0} == '*' && $template_tag{strlen($template_tag) - 1} == '*') Line 409: if ($template_tag{0} == '*' && $template_tag{strlen($template_tag) - 1} == '*') Line 409: if ($template_tag{0} == '*' && $template_tag{strlen($template_tag) - 1} == '*') Line 412: /* Split tag into two three parts: command, command modifiers and the arguments. */ Line 416: ~xs', $template_tag, $match)) { Line 417: $this->_syntax_error("unrecognized tag: $template_tag", E_USER_ERROR, __FILE__, __LINE__); Line 417: $this->_syntax_error("unrecognized tag: $template_tag", E_USER_ERROR, __FILE__, __LINE__); Line 420: $tag_command = $match[1]; Line 421: $tag_modifier = isset($match[2]) ? $match[2] : null; Line 422: $tag_args = isset($match[3]) ? $match[3] : null; Line 424: if (preg_match('~^' . $this->_num_const_regexp . '|' . $this->_obj_call_regexp . '|' . $this->_var_regexp . '$~', $tag_command)) { Line 425: /* tag name is a variable or object */ Line 426: $_return = $this->_parse_var_props($tag_command . $tag_modifier, $this->_parse_attrs($tag_args)); Line 426: $_return = $this->_parse_var_props($tag_command . $tag_modifier, $this->_parse_attrs($tag_args)); Line 426: $_return = $this->_parse_var_props($tag_command . $tag_modifier, $this->_parse_attrs($tag_args)); Line 427: if(isset($_tag_attrs['assign'])) { Line 428: return "<?php \$this->assign('" . $this->_dequote($_tag_attrs['assign']) . "', $_return ); ?>\n"; Line 434: /* If the tag name is a registered object, we process it. */ Line 435: if (preg_match('~^\/?' . $this->_reg_obj_regexp . '$~', $tag_command)) { Line 436: return $this->_compile_registered_object_tag($tag_command, $this->_parse_attrs($tag_args), $tag_modifier); Line 436: return $this->_compile_registered_object_tag($tag_command, $this->_parse_attrs($tag_args), $tag_modifier); Line 436: return $this->_compile_registered_object_tag($tag_command, $this->_parse_attrs($tag_args), $tag_modifier); Line 436: return $this->_compile_registered_object_tag($tag_command, $this->_parse_attrs($tag_args), $tag_modifier); Line 439: switch ($tag_command) { Line 441: return $this->_compile_include_tag($tag_args); Line 441: return $this->_compile_include_tag($tag_args); Line 444: return $this->_compile_include_php_tag($tag_args); Line 444: return $this->_compile_include_php_tag($tag_args); Line 447: $this->_push_tag('if'); Line 448: return $this->_compile_if_tag($tag_args); Line 448: return $this->_compile_if_tag($tag_args); Line 451: list($_open_tag) = end($this->_tag_stack); Line 451: list($_open_tag) = end($this->_tag_stack); Line 452: if ($_open_tag != 'if' && $_open_tag != 'elseif') Line 452: if ($_open_tag != 'if' && $_open_tag != 'elseif') Line 455: $this->_push_tag('else'); Line 459: list($_open_tag) = end($this->_tag_stack); Line 459: list($_open_tag) = end($this->_tag_stack); Line 460: if ($_open_tag != 'if' && $_open_tag != 'elseif') Line 460: if ($_open_tag != 'if' && $_open_tag != 'elseif') Line 462: if ($_open_tag == 'if') Line 463: $this->_push_tag('elseif'); Line 464: return $this->_compile_if_tag($tag_args, true); Line 464: return $this->_compile_if_tag($tag_args, true); Line 467: $this->_pop_tag('if'); Line 471: return $this->_compile_capture_tag(true, $tag_args); Line 471: return $this->_compile_capture_tag(true, $tag_args); Line 474: return $this->_compile_capture_tag(false); Line 483: $this->_push_tag('section'); Line 484: return $this->_compile_section_start($tag_args); Line 487: $this->_push_tag('sectionelse'); Line 492: $_open_tag = $this->_pop_tag('section'); Line 492: $_open_tag = $this->_pop_tag('section'); Line 493: if ($_open_tag == 'sectionelse') Line 499: $this->_push_tag('foreach'); Line 500: return $this->_compile_foreach_start($tag_args); Line 504: $this->_push_tag('foreachelse'); Line 508: $_open_tag = $this->_pop_tag('foreach'); Line 508: $_open_tag = $this->_pop_tag('foreach'); Line 509: if ($_open_tag == 'foreachelse') Line 517: if ($tag_command{0}=='/') { Line 518: $this->_pop_tag('strip'); Line 521: return $this->left_delimiter.$tag_command.$this->right_delimiter; Line 524: $this->_push_tag('strip'); Line 527: return $this->left_delimiter.$tag_command.$this->right_delimiter; Line 533: /* handle folded tags replaced by {php} */ Line 537: determins the type of folded tag that was found */ Line 546: if ($this->security && !$this->security_settings['PHP_TAGS']) { Line 547: $this->_syntax_error("(secure mode) php tags not permitted", E_USER_WARNING, __FILE__, __LINE__); Line 555: return $this->_compile_insert_tag($tag_args); Line 555: return $this->_compile_insert_tag($tag_args); Line 558: if ($this->_compile_compiler_tag($tag_command, $tag_args, $output)) { Line 558: if ($this->_compile_compiler_tag($tag_command, $tag_args, $output)) { Line 558: if ($this->_compile_compiler_tag($tag_command, $tag_args, $output)) { Line 560: } else if ($this->_compile_block_tag($tag_command, $tag_args, $tag_modifier, $output)) { Line 560: } else if ($this->_compile_block_tag($tag_command, $tag_args, $tag_modifier, $output)) { Line 560: } else if ($this->_compile_block_tag($tag_command, $tag_args, $tag_modifier, $output)) { Line 560: } else if ($this->_compile_block_tag($tag_command, $tag_args, $tag_modifier, $output)) { Line 562: } else if ($this->_compile_custom_tag($tag_command, $tag_args, $tag_modifier, $output)) { Line 562: } else if ($this->_compile_custom_tag($tag_command, $tag_args, $tag_modifier, $output)) { Line 562: } else if ($this->_compile_custom_tag($tag_command, $tag_args, $tag_modifier, $output)) { Line 562: } else if ($this->_compile_custom_tag($tag_command, $tag_args, $tag_modifier, $output)) { Line 565: $this->_syntax_error("unrecognized tag '$tag_command'", E_USER_ERROR, __FILE__, __LINE__); Line 565: $this->_syntax_error("unrecognized tag '$tag_command'", E_USER_ERROR, __FILE__, __LINE__); Line 573: * compile the custom compiler tag Line 575: * sets $output to the compiled custom compiler tag Line 576: * @param string $tag_command Line 577: * @param string $tag_args Line 581: function _compile_compiler_tag($tag_command, $tag_args, &$output) Line 581: function _compile_compiler_tag($tag_command, $tag_args, &$output) Line 581: function _compile_compiler_tag($tag_command, $tag_args, &$output) Line 590: if (isset($this->_plugins['compiler'][$tag_command])) { Line 592: $plugin_func = $this->_plugins['compiler'][$tag_command][0]; Line 594: $message = "compiler function '$tag_command' is not implemented"; Line 602: else if ($plugin_file = $this->_get_plugin_filepath('compiler', $tag_command)) { Line 607: $plugin_func = 'smarty_compiler_' . $tag_command; Line 612: $this->_plugins['compiler'][$tag_command] = array($plugin_func, null, null, null, true); Line 620: * tag. Line 624: $output = call_user_func_array($plugin_func, array($tag_args, &$this)); Line 626: $output = '<?php ' . $this->_push_cacheable_state('compiler', $tag_command) Line 628: . $this->_pop_cacheable_state('compiler', $tag_command) . ' ?>'; Line 641: * compile block function tag Line 643: * sets $output to compiled block function tag Line 644: * @param string $tag_command Line 645: * @param string $tag_args Line 646: * @param string $tag_modifier Line 650: function _compile_block_tag($tag_command, $tag_args, $tag_modifier, &$output) Line 650: function _compile_block_tag($tag_command, $tag_args, $tag_modifier, &$output) Line 650: function _compile_block_tag($tag_command, $tag_args, $tag_modifier, &$output) Line 650: function _compile_block_tag($tag_command, $tag_args, $tag_modifier, &$output) Line 652: if ($tag_command{0} == '/') { Line 653: $start_tag = false; Line 654: $tag_command = substr($tag_command, 1); Line 654: $tag_command = substr($tag_command, 1); Line 656: $start_tag = true; Line 665: if (isset($this->_plugins['block'][$tag_command])) { Line 667: $plugin_func = $this->_plugins['block'][$tag_command][0]; Line 669: $message = "block function '$tag_command' is not implemented"; Line 677: else if ($plugin_file = $this->_get_plugin_filepath('block', $tag_command)) { Line 682: $plugin_func = 'smarty_block_' . $tag_command; Line 687: $this->_plugins['block'][$tag_command] = array($plugin_func, null, null, null, true); Line 704: $this->_add_plugin('block', $tag_command); Line 706: if ($start_tag) Line 707: $this->_push_tag($tag_command); Line 707: $this->_push_tag($tag_command); Line 709: $this->_pop_tag($tag_command); Line 709: $this->_pop_tag($tag_command); Line 711: if ($start_tag) { Line 712: $output = '<?php ' . $this->_push_cacheable_state('block', $tag_command); Line 713: $attrs = $this->_parse_attrs($tag_args); Line 714: $arg_list = $this->_compile_arg_list('block', $tag_command, $attrs, $_cache_attrs=''); Line 715: $output .= "$_cache_attrs\$this->_tag_stack[] = array('$tag_command', array(".implode(',', $arg_list).')); '; Line 715: $output .= "$_cache_attrs\$this->_tag_stack[] = array('$tag_command', array(".implode(',', $arg_list).')); '; Line 716: $output .= $this->_compile_plugin_call('block', $tag_command).'($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat=true);'; Line 716: $output .= $this->_compile_plugin_call('block', $tag_command).'($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat=true);'; Line 716: $output .= $this->_compile_plugin_call('block', $tag_command).'($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat=true);'; Line 720: $_out_tag_text = $this->_compile_plugin_call('block', $tag_command).'($this->_tag_stack[count($this->_tag_stack)-1][1], $this->_block_content, $this, $_block_repeat=false)'; Line 720: $_out_tag_text = $this->_compile_plugin_call('block', $tag_command).'($this->_tag_stack[count($this->_tag_stack)-1][1], $this->_block_content, $this, $_block_repeat=false)'; Line 720: $_out_tag_text = $this->_compile_plugin_call('block', $tag_command).'($this->_tag_stack[count($this->_tag_stack)-1][1], $this->_block_content, $this, $_block_repeat=false)'; Line 720: $_out_tag_text = $this->_compile_plugin_call('block', $tag_command).'($this->_tag_stack[count($this->_tag_stack)-1][1], $this->_block_content, $this, $_block_repeat=false)'; Line 721: if ($tag_modifier != '') { Line 722: $this->_parse_modifiers($_out_tag_text, $tag_modifier); Line 722: $this->_parse_modifiers($_out_tag_text, $tag_modifier); Line 724: $output .= 'echo '.$_out_tag_text.'; } '; Line 725: $output .= " array_pop(\$this->_tag_stack); " . $this->_pop_cacheable_state('block', $tag_command) . '?>'; Line 725: $output .= " array_pop(\$this->_tag_stack); " . $this->_pop_cacheable_state('block', $tag_command) . '?>'; Line 733: * compile custom function tag Line 735: * @param string $tag_command Line 736: * @param string $tag_args Line 737: * @param string $tag_modifier Line 740: function _compile_custom_tag($tag_command, $tag_args, $tag_modifier, &$output) Line 740: function _compile_custom_tag($tag_command, $tag_args, $tag_modifier, &$output) Line 740: function _compile_custom_tag($tag_command, $tag_args, $tag_modifier, &$output) Line 740: function _compile_custom_tag($tag_command, $tag_args, $tag_modifier, &$output) Line 749: if (isset($this->_plugins['function'][$tag_command])) { Line 751: $plugin_func = $this->_plugins['function'][$tag_command][0]; Line 753: $message = "custom function '$tag_command' is not implemented"; Line 761: else if ($plugin_file = $this->_get_plugin_filepath('function', $tag_command)) { Line 766: $plugin_func = 'smarty_function_' . $tag_command; Line 771: $this->_plugins['function'][$tag_command] = array($plugin_func, null, null, null, true); Line 785: $this->_add_plugin('function', $tag_command); Line 787: $_cacheable_state = $this->_push_cacheable_state('function', $tag_command); Line 788: $attrs = $this->_parse_attrs($tag_args); Line 789: $arg_list = $this->_compile_arg_list('function', $tag_command, $attrs, $_cache_attrs=''); Line 791: $output = $this->_compile_plugin_call('function', $tag_command).'(array('.implode(',', $arg_list)."), \$this)"; Line 792: if($tag_modifier != '') { Line 793: $this->_parse_modifiers($output, $tag_modifier); Line 798: . $this->_pop_cacheable_state('function', $tag_command) . "?>" . $this->_additional_newline; Line 805: * compile a registered object tag Line 807: * @param string $tag_command Line 809: * @param string $tag_modifier Line 812: function _compile_registered_object_tag($tag_command, $attrs, $tag_modifier) Line 812: function _compile_registered_object_tag($tag_command, $attrs, $tag_modifier) Line 812: function _compile_registered_object_tag($tag_command, $attrs, $tag_modifier) Line 814: if ($tag_command{0} == '/') { Line 815: $start_tag = false; Line 816: $tag_command = substr($tag_command, 1); Line 816: $tag_command = substr($tag_command, 1); Line 818: $start_tag = true; Line 821: list($object, $obj_comp) = explode('->', $tag_command); Line 860: if ($start_tag) { Line 861: $prefix = "\$this->_tag_stack[] = array('$obj_comp', $args); "; Line 862: $prefix .= "\$this->_reg_objects['$object'][0]->$obj_comp(\$this->_tag_stack[count(\$this->_tag_stack)-1][1], null, \$this, \$_block_repeat=true); "; Line 862: $prefix .= "\$this->_reg_objects['$object'][0]->$obj_comp(\$this->_tag_stack[count(\$this->_tag_stack)-1][1], null, \$this, \$_block_repeat=true); "; Line 868: $return = "\$this->_reg_objects['$object'][0]->$obj_comp(\$this->_tag_stack[count(\$this->_tag_stack)-1][1], \$this->_obj_block_content, \$this, \$_block_repeat=false)"; Line 868: $return = "\$this->_reg_objects['$object'][0]->$obj_comp(\$this->_tag_stack[count(\$this->_tag_stack)-1][1], \$this->_obj_block_content, \$this, \$_block_repeat=false)"; Line 869: $postfix = "} array_pop(\$this->_tag_stack);"; Line 881: if($tag_modifier != '') { Line 882: $this->_parse_modifiers($return, $tag_modifier); Line 899: * Compile {insert ...} tag Line 901: * @param string $tag_args Line 904: function _compile_insert_tag($tag_args) Line 904: function _compile_insert_tag($tag_args) Line 906: $attrs = $this->_parse_attrs($tag_args); Line 933: * Compile {include ...} tag Line 935: * @param string $tag_args Line 938: function _compile_include_tag($tag_args) Line 938: function _compile_include_tag($tag_args) Line 940: $attrs = $this->_parse_attrs($tag_args); Line 944: $this->_syntax_error("missing 'file' attribute in include tag", E_USER_ERROR, __FILE__, __LINE__); Line 986: * Compile {include ...} tag Line 988: * @param string $tag_args Line 991: function _compile_include_php_tag($tag_args) Line 991: function _compile_include_php_tag($tag_args) Line 993: $attrs = $this->_parse_attrs($tag_args); Line 996: $this->_syntax_error("missing 'file' attribute in include_php tag", E_USER_ERROR, __FILE__, __LINE__); Line 1018: * Compile {section ...} tag Line 1020: * @param string $tag_args Line 1023: function _compile_section_start($tag_args) Line 1025: $attrs = $this->_parse_attrs($tag_args); Line 1123: * Compile {foreach ...} tag. Line 1125: * @param string $tag_args Line 1128: function _compile_foreach_start($tag_args) Line 1130: $attrs = $this->_parse_attrs($tag_args); Line 1186: * Compile {capture} .. {/capture} tags Line 1188: * @param boolean $start true if this is the {capture} tag Line 1189: * @param string $tag_args Line 1193: function _compile_capture_tag($start, $tag_args = '') Line 1193: function _compile_capture_tag($start, $tag_args = '') Line 1195: $attrs = $this->_parse_attrs($tag_args); Line 1222: * Compile {if ...} tag Line 1224: * @param string $tag_args Line 1228: function _compile_if_tag($tag_args, $elseif = false) Line 1228: function _compile_if_tag($tag_args, $elseif = false) Line 1231: /* Tokenize args for 'if' tag. */ Line 1238: )~x', $tag_args, $match); Line 1481: * @param string $tag_args Line 1484: function _parse_attrs($tag_args) Line 1487: /* Tokenize tag attributes. */ Line 1491: ~x', $tag_args, $match); Line 1580: * @param string $tag_attrs Line 2188: * push opening tag-name, file-name and line-number on the tag-stack Line 2188: * push opening tag-name, file-name and line-number on the tag-stack Line 2189: * @param string the opening tag's name Line 2191: function _push_tag($open_tag) Line 2191: function _push_tag($open_tag) Line 2193: array_push($this->_tag_stack, array($open_tag, $this->_current_line_no)); Line 2193: array_push($this->_tag_stack, array($open_tag, $this->_current_line_no)); Line 2197: * pop closing tag-name Line 2198: * raise an error if this stack-top doesn't match with the closing tag Line 2199: * @param string the closing tag's name Line 2200: * @return string the opening tag's name Line 2202: function _pop_tag($close_tag) Line 2202: function _pop_tag($close_tag) Line 2205: if (count($this->_tag_stack)>0) { Line 2206: list($_open_tag, $_line_no) = array_pop($this->_tag_stack); Line 2206: list($_open_tag, $_line_no) = array_pop($this->_tag_stack); Line 2207: if ($close_tag == $_open_tag) { Line 2207: if ($close_tag == $_open_tag) { Line 2208: return $_open_tag; Line 2210: if ($close_tag == 'if' && ($_open_tag == 'else' || $_open_tag == 'elseif' )) { Line 2210: if ($close_tag == 'if' && ($_open_tag == 'else' || $_open_tag == 'elseif' )) { Line 2210: if ($close_tag == 'if' && ($_open_tag == 'else' || $_open_tag == 'elseif' )) { Line 2211: return $this->_pop_tag($close_tag); Line 2211: return $this->_pop_tag($close_tag); Line 2213: if ($close_tag == 'section' && $_open_tag == 'sectionelse') { Line 2213: if ($close_tag == 'section' && $_open_tag == 'sectionelse') { Line 2214: $this->_pop_tag($close_tag); Line 2214: $this->_pop_tag($close_tag); Line 2215: return $_open_tag; Line 2217: if ($close_tag == 'foreach' && $_open_tag == 'foreachelse') { Line 2217: if ($close_tag == 'foreach' && $_open_tag == 'foreachelse') { Line 2218: $this->_pop_tag($close_tag); Line 2218: $this->_pop_tag($close_tag); Line 2219: return $_open_tag; Line 2221: if ($_open_tag == 'else' || $_open_tag == 'elseif') { Line 2221: if ($_open_tag == 'else' || $_open_tag == 'elseif') { Line 2222: $_open_tag = 'if'; Line 2223: } elseif ($_open_tag == 'sectionelse') { Line 2224: $_open_tag = 'section'; Line 2225: } elseif ($_open_tag == 'foreachelse') { Line 2226: $_open_tag = 'foreach'; Line 2228: $message = " expected {/$_open_tag} (opened line $_line_no)."; Line 2230: $this->_syntax_error("mismatched tag {/$close_tag}.$message", Line 2230: $this->_syntax_error("mismatched tag {/$close_tag}.$message", C:\Documents and Settings\aa1\Desktop\6633f5-AnswerScript v2.1\AnswerScript v2.1\upload\submit_answer.php (1 hits) Line 20: $ansdetails = htmlentities(strip_tags($_REQUEST['ansdetails']), ENT_COMPAT, "UTF-8");
Optional Paste Settings
Category:
None
Cryptocurrency
Cybersecurity
Fixit
Food
Gaming
Haiku
Help
History
Housing
Jokes
Legal
Money
Movies
Music
Pets
Photo
Science
Software
Source Code
Spirit
Sports
Travel
TV
Writing
Tags:
Syntax Highlighting:
None
Bash
C
C#
C++
CSS
HTML
JSON
Java
JavaScript
Lua
Markdown (PRO members only)
Objective C
PHP
Perl
Python
Ruby
Swift
4CS
6502 ACME Cross Assembler
6502 Kick Assembler
6502 TASM/64TASS
ABAP
AIMMS
ALGOL 68
APT Sources
ARM
ASM (NASM)
ASP
ActionScript
ActionScript 3
Ada
Apache Log
AppleScript
Arduino
Asymptote
AutoIt
Autohotkey
Avisynth
Awk
BASCOM AVR
BNF
BOO
Bash
Basic4GL
Batch
BibTeX
Blitz Basic
Blitz3D
BlitzMax
BrainFuck
C
C (WinAPI)
C Intermediate Language
C for Macs
C#
C++
C++ (WinAPI)
C++ (with Qt extensions)
C: Loadrunner
CAD DCL
CAD Lisp
CFDG
CMake
COBOL
CSS
Ceylon
ChaiScript
Chapel
Clojure
Clone C
Clone C++
CoffeeScript
ColdFusion
Cuesheet
D
DCL
DCPU-16
DCS
DIV
DOT
Dart
Delphi
Delphi Prism (Oxygene)
Diff
E
ECMAScript
EPC
Easytrieve
Eiffel
Email
Erlang
Euphoria
F#
FO Language
Falcon
Filemaker
Formula One
Fortran
FreeBasic
FreeSWITCH
GAMBAS
GDB
GDScript
Game Maker
Genero
Genie
GetText
Go
Godot GLSL
Groovy
GwBasic
HQ9 Plus
HTML
HTML 5
Haskell
Haxe
HicEst
IDL
INI file
INTERCAL
IO
ISPF Panel Definition
Icon
Inno Script
J
JCL
JSON
Java
Java 5
JavaScript
Julia
KSP (Kontakt Script)
KiXtart
Kotlin
LDIF
LLVM
LOL Code
LScript
Latex
Liberty BASIC
Linden Scripting
Lisp
Loco Basic
Logtalk
Lotus Formulas
Lotus Script
Lua
M68000 Assembler
MIX Assembler
MK-61/52
MPASM
MXML
MagikSF
Make
MapBasic
Markdown (PRO members only)
MatLab
Mercury
MetaPost
Modula 2
Modula 3
Motorola 68000 HiSoft Dev
MySQL
Nagios
NetRexx
Nginx
Nim
NullSoft Installer
OCaml
OCaml Brief
Oberon 2
Objeck Programming Langua
Objective C
Octave
Open Object Rexx
OpenBSD PACKET FILTER
OpenGL Shading
Openoffice BASIC
Oracle 11
Oracle 8
Oz
PARI/GP
PCRE
PHP
PHP Brief
PL/I
PL/SQL
POV-Ray
ParaSail
Pascal
Pawn
Per
Perl
Perl 6
Phix
Pic 16
Pike
Pixel Bender
PostScript
PostgreSQL
PowerBuilder
PowerShell
ProFTPd
Progress
Prolog
Properties
ProvideX
Puppet
PureBasic
PyCon
Python
Python for S60
QBasic
QML
R
RBScript
REBOL
REG
RPM Spec
Racket
Rails
Rexx
Robots
Roff Manpage
Ruby
Ruby Gnuplot
Rust
SAS
SCL
SPARK
SPARQL
SQF
SQL
SSH Config
Scala
Scheme
Scilab
SdlBasic
Smalltalk
Smarty
StandardML
StoneScript
SuperCollider
Swift
SystemVerilog
T-SQL
TCL
TeXgraph
Tera Term
TypeScript
TypoScript
UPC
Unicon
UnrealScript
Urbi
VB.NET
VBScript
VHDL
VIM
Vala
Vedit
VeriLog
Visual Pro Log
VisualBasic
VisualFoxPro
WHOIS
WhiteSpace
Winbatch
XBasic
XML
XPP
Xojo
Xorg Config
YAML
YARA
Z80 Assembler
ZXBasic
autoconf
jQuery
mIRC
newLISP
q/kdb+
thinBasic
Paste Expiration:
Never
Burn after read
10 Minutes
1 Hour
1 Day
1 Week
2 Weeks
1 Month
6 Months
1 Year
Paste Exposure:
Public
Unlisted
Private
Folder:
(members only)
Password
NEW
Enabled
Disabled
Burn after read
NEW
Paste Name / Title:
Create New Paste
Hello
Guest
Sign Up
or
Login
Sign in with Facebook
Sign in with Twitter
Sign in with Google
You are currently not logged in, this means you can not edit or delete anything you paste.
Sign Up
or
Login
Public Pastes
Untitled
1 day ago | 0.68 KB
The Road Not Taken
2 days ago | 0.79 KB
OG OLDHAM CODE
4 days ago | 27.75 KB
remove current bid and bid now button from au...
PHP | 4 days ago | 0.80 KB
AppUseUA
JSON | 4 days ago | 0.27 KB
Notices blood
5 days ago | 0.81 KB
discord chat view
Python | 5 days ago | 9.23 KB
systemd-socket-test (AI + Human)
Python | 6 days ago | 9.34 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!