| [ PHPXref.com ] | [ Generated: Sun Jul 20 19:47:34 2008 ] | [ phpMyFAQ 1.6.1 ] |
| [ Index ] [ Variables ] [ Functions ] [ Classes ] [ Constants ] [ Statistics ] | ||
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * $Id: contact.php,v 1.3.2.4.2.2 2006/04/25 12:07:24 matteo Exp $ 4 * 5 * @author Thorsten Rinne <thorsten@phpmyfaq.de> 6 * @since 2002-09-16 7 * @copyright (c) 2001-2006 phpMyFAQ Team 8 * 9 * The contents of this file are subject to the Mozilla Public License 10 * Version 1.1 (the "License"); you may not use this file except in 11 * compliance with the License. You may obtain a copy of the License at 12 * http://www.mozilla.org/MPL/ 13 * 14 * Software distributed under the License is distributed on an "AS IS" 15 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the 16 * License for the specific language governing rights and limitations 17 * under the License. 18 */ 19 20 if (!defined('IS_VALID_PHPMYFAQ')) { 21 header('Location: http://'.$_SERVER['SERVER_NAME'].dirname($_SERVER['SCRIPT_NAME'])); 22 exit(); 23 } 24 25 Tracking('contact', 0); 26 27 $captcha = new PMF_Captcha($db, $sids, $pmf->language, $_SERVER['HTTP_USER_AGENT'], $_SERVER['REMOTE_ADDR']); 28 29 if (isset($_GET['gen'])) { 30 $captcha->showCaptchaImg(); 31 exit; 32 } 33 34 $tpl->processTemplate ('writeContent', array( 35 'msgContact' => $PMF_LANG['msgContact'], 36 'msgContactOwnText' => unhtmlentities($PMF_CONF['msgContactOwnText']), 37 'msgContactEMail' => $PMF_LANG['msgContactEMail'], 38 'writeSendAdress' => $_SERVER['PHP_SELF'].'?'.$sids.'action=sendmail', 39 'msgNewContentName' => $PMF_LANG['msgNewContentName'], 40 'msgNewContentMail' => $PMF_LANG['msgNewContentMail'], 41 'defaultContentMail' => getEmailAddress(), 42 'defaultContentName' => getFullUserName(), 43 'msgMessage' => $PMF_LANG['msgMessage'], 44 'msgS2FButton' => $PMF_LANG['msgS2FButton'], 45 'version' => $PMF_CONF['version'], 46 'captchaFieldset' => printCaptchaFieldset($PMF_LANG['msgCaptcha'], $captcha->printCaptcha('contact'), $captcha->caplength) 47 )); 48 49 $tpl->includeTemplate('writeContent', 'index'); 50 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| [ Powered by PHPXref - Served by Debian GNU/Linux ] |