segen does not currently provide support for this item.

26 comments found.

Great template, but I need to make the contact form work. Can you send me the php code? Thanks!

Here for everyone else too :)

<?php //DONT EDIT BELOW EXCEPT FOR CHANGEING YOUR EMAIL ADRESS AND SUBJECT :) if(isset($_POST['button1'])){ $subject = htmlspecialchars($_POST['subject'], ENT_QUOTES); $lastname = htmlspecialchars($_POST['lastname'], ENT_QUOTES); $mail = htmlspecialchars($_POST['mail'], ENT_QUOTES); $message = htmlspecialchars($_POST['message'], ENT_QUOTES); $emaile = explode('@', $mail); if($emaile[0] != '' && $emaile[1] != ''){ $to = ''; //CHANGE THE E-MAIL HERE $subj = 'Someone sent me a message'; //subject $headers = 'From: '.$to.'' . "\r\n"; $headers .= 'Reply-To: '.$to.'' . "\r\n"; //$headers .= 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=utf-8' . "\r\n"; $mess = '<htm?><head><title>Contact</title></head><body><p>'; $mess .= '</p><p><b>Contact</b></p><br />'; $mess .= '<b>Title: </b>'.$subject.'<br />'; $mess .= '<b>Name: </b>'.$lastname.'<br />'; $mess .= '<b>E-mail: </b>'.$mail.'<br />'; $mess .= '<b>Message: </b>'.$message.'<br />'; $mess .= '</body>'; $mailsend = mail($to,$subj,$mess, $headers);//Slanje poruke unset($_POST['subject'],$_POST['lastname'],$_POST['mail'],$_POST['message']); }else{ $error = 'Ivalid e-mail. Please try again. Thank you'; } } if (isset($error)) { print '<div>'.$error.'</div>'; } <form method="post" action="" id="two"> <fieldset><a name="contact"></a> <input name="subject" id="subject" value="SUBJECT" type="text" tabindex="1" /> <br /> <input name="lastname" id="lastname" value="NAME" type="text" tabindex="2" /> <br /> <input name="mail" id="mail" value="EMAIL" type="text" tabindex="3" /> <br /> <br /> <textarea name="message" rows="10" cols="40" tabindex="4">MESSAGE </textarea> </fieldset> <p> <input name="button1" id="button1" type="submit" value="Send" /> </p> </form>

Thank you Segen.

I am sorry for my ignorance, but do I have to make a .php file and direct from “action=” to the file? Where should I place the .php file?

Place the PHP code above the HTML form (like in my example) inside the .html file, rename index.html to index.php. Don’t touch action method.

The code is not working… am I doing anything wrong?

I am not even sure if I am putting the code in the right place… Sorry to keep bugging you.

Nope, you’re not putting it right :( Please contact me via my profile page and we’ll fix this. Thanks!

im having problem installing the theme. it says theme is broken and stylesheet is missing. how do i install the theme? thanks.

Hi sparky98, you bought an hTML template not a WP template so there isn’t any installation required.

Live Preview doesn’t work. :/