Посмотрите, там где пункт: Вы оплатили взнос? Появляется ненужный текст.
<?php //IMPORTANT!! //Put in your email address below: $to = 'email@11gallery.netai.net';
//User info (DO NOT EDIT!) $name = stripslashes($_POST['name']); //sender's name $email = stripslashes($_POST['email']); //sender's email $countries = stripslashes($_PIST['countries']);
//The subject $subject = "РЕГИСТРАЦИЯ НА ТУРНИР "; //The default subject. Will appear by default in all messages. Change this if you want. $subject .= stripslashes($_POST['subject']); // the subject
//The message you will receive in your mailbox //Each parts are commented to help you understand what it does exaclty. //YOU DON'T NEED TO EDIT IT BELOW BUT IF YOU DO, DO IT WITH CAUTION! $msg = "Название команды : $name \r\n"; //add sender's name to the message $msg .= "e-Mail : $email \r\n"; //add sender's email to the message $msg .= "Страна : $subject \r\n\n"; //add subject to the message (optional! It will be displayed in the header anyway) $msg .= "—Message— \r\n".stripslashes($_POST['message'])."\r\n\n"; //the message itself
//Extras: User info (Optional!) //Delete this part if you don't need it //Display user information such as Ip address and browsers information... $msg .= "—User information— \r \n"; //Title $msg .= "User IP : ".$_SERVER["REMOTE_ADDR"]."\r\n"; //Sender's IP $msg .= "Browser info : ".$_SERVER["HTTP_USER_AGENT"]."\r\n"; //User agent $msg .= "User come from : ".$_SERVER["HTTP_REFERER"]; //Referrer // END Extras
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru" lang="ru"> <head> <title>Турнир по дисциплине cs 1.6</title> <link rel="shortcut icon" href="http://www.cyberforum.ru/images/favicon.ico"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="description" content="Ajax Contact form using CheckForm2 and NiceForms." /> <meta name="keywords" content="php, contact form, Ajax, mootools, checkform2, niceforms, Moo Floor, class, javascript, spamcheck, badboy.ro" />
<script> jQuery(document).ready(function(){ // binds form submission and fields to the validation engine jQuery("#third").validationEngine(); });
/** * * @param {jqObject} the field where the validation applies * @param {Array[String]} validation rules for this field * @param {int} rule index * @param {Map} form options * @return an error string if validation failed */ function checkHELLO(field, rules, i, options){ if (field.val() != "HELLO") { // this allows to use i18 for the error msgs return options.allrules.validate2fields.alertText; } } </script>
</head> <body> <!-- The contact form starts here--> <?php if ($_SERVER['REQUEST_METHOD'] != 'POST'){ $self = $_SERVER['PHP_SELF']; ?>
<!-- Start HTML form --> <form name="form" method="post" id="third" action="<?php echo $self;?>" class="niceform"> <center><h1>РЕГИСТРАЦИЯ НА ЗИМНИЙ ТУРНИР ПО ДИСЦИПЛИНЕ CS 1.6</h1></center>
<!-- Name --> <label for="name"><strong><span class="blue">*</span> Название команды : </strong></label> <input value="" data-validation-engine="validate[required]" id="name" name="name" type="text" class="validate['required','length[3,-1]','nodigit']" size="20" type="text"/>
<!-- Niceforms: mouse over effect --> <!-- Do not remove the line below --> <div id="stylesheetTest"></div> </form>
<div class="social-media-arrow"></div>
<footer> <ul> <center><span class="blue">*</span>Свяжитесь с главным администратором <a class="skype" href="skype:ilyha1996?add"></a></center> </ul> </footer> </div>
<?php } else { error_reporting(0);
if (mail($to, $subject, $msg, "Content-Type:text/plain; Charset=utf-8\r\nFrom: $email\r\nReply-To: $email\r\nReturn-Path: $email\r\n"))
//Message sent! //It the message that will be displayed when the user click the sumbit button //You can modify the text if you want echo nl2br(" <div class=\"MsgSent\"> <h1>Успех!</h1> <p>Ваша команда <b><?=$name;?></b>, будет рассмотрена!<br />.</p> </div> ");
else
// Display error message if the message failed to send echo " <div class=\"MsgError\"> <h1>Error!!</h1> <p>Sorry <b><?=$name;?></b>, your message failed to send. Try later!</p> </div>"; } ?>
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Здравствуйте, подскажите какой тег использовать для увеличения значения, пример на картинке.
Вроде, про такой тег я слышала. Если есть тег прогресс бар, значит и такое должно быть.
Question
eek
Посмотрите, там где пункт: Вы оплатили взнос? Появляется ненужный текст.
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.