Jump to content

h4r00n

Members
  • Posts

    80
  • Joined

  • Last visited

    Never

Everything posted by h4r00n

  1. Oh! thanks alot. I have changed this but it is still not working, I cannot see the jobs...?
  2. Hi My RSS FEEDS was working but it just suddenly stopped working. Can anyone help? It doesn't seem to load. <?xml version='1.0' encoding='ISO-8859-1' ?> <rss version='2.0'> <channel> <title>JobJar Recruitment</title> <description>Latest jobs from JobJar</description> <link>http://www.jobjar.co.uk</link> <language>en-gb</language> <copyright>2009-2010 © JobJar.co.uk</copyright> <webMaster>webmaster@jobjar.co.uk</webMaster> <image> <url>http://www.jobjar.co.uk/images/logo2.png</url> <title>JobJar Recruitment</title> <link>http://www.jobjar.co.uk</link> <width>125</width> <height>34</height> <description>Social Care, Nursing and Allied Health</description> </image> <channel> <item> <title>Regional Operations Manager - Birmingham</title> <link>http://www.jobjar.co.uk/jobdetails.php?keywords=bir0019&page=1</link> <description>This is a fantastic opportunity to join a fast growing and dynamic business. Our client is an established organisation principally operating supported living services (all currently CQC 3 star ‘excellent’ rated) for people with Physical and Learning Disabilities and Mental Health issues. Our Client is growing fast, both organically and by acquisition, and 2010 is proving to be a very exciting year in development. Earlier this year our client succeeded in winning substantial Supporting People services with Birmingham City Council. We are seeking an experienced and talented manager to take the lead on Physical Disabilities and Sensory Impairment services. You will be responsible for ensuring that the SLC vision – “Achieving Potential” - is implemented to benefit service users, and that our values are delivered through the effective management of resources, with a focus on continuous improvement. You will also be involved in identifying and pursuing new opportunities to achieve the Group’s growth plans. In addition you will be a member of the Group Operations Management Team, helping to shape the organisation’s future. We are looking for an individual with management experience in the social care sector who is able to demonstrate both an awareness of and ability to lead the delivery of services primarily to individuals with hearing impairments, which will be the primary focus of the role. The post will also entail, however, the delivery of services to individuals with physical disability / visual impairments. A sound understanding of the ‘Supporting People’ agenda would also be beneficial. You must be able to demonstrate excellent leadership skills, a “can-do” approach and the ability to ‘think outside the box’. Strong inter-personal and communication skills are essential, as are a commitment to quality and partnership working.</description> <pubDate>20 October 2010</pubDate> </item> <item> <title>General Manager - Hertfordshire</title> <link>http://www.jobjar.co.uk/jobdetails.php?keywords=her0001&page=1</link> <description>Our client supports 22 adults with learning and mental health difficulties and is looking for a health & social care professional with substantial business experience to work with its management team. Decreasing public funding and personalisation: the challenge is to stay relevant and deliver more with less. You will have a sound head for business, plenty of experience with social care contracting, and a passion for developing innovative, responsive services. Committed to equality, diversity, inclusion and to the protection of vulnerable adults. <\description> <pubDate>18 October 2010</pubDate> </item> <item> <title>Fostering Supervising Social Worker - East Anglia</title> <link>http://www.jobjar.co.uk/jobdetails.php?keywords=nor0005&page=1</link> <description>The post is for home-based qualified social worker(s) who will be part of a fostering team based at Scope Services Meldreth near Royston, Herts. The service provides high quality long-term, short break and shared care placements for disabled children with a wide range of needs. Your role will be to support the Fostering Service Manager in the recruitment, training, assessment and supervision of a range of foster carers and contribute to the further development of the service. This will be delivered in line with the minimum fostering standards and regulations as with other independent agencies. The team of Social Workers will support carers within specific areas of the region. The preferred area for recruitment is Suffolk or Norfolk where our current foster carers are located; however the service is also being developed in Cambridgeshire and Hertfordshire and other parts of the region. There are further plans to develop and expand the service and its geographical catchment area and therefore we will consider Social Workers based in the surrounding areas to the region. Along with a Dip/SW or CQSW, you will have experience of working with children and families, and preferably family placement. You will be required to actively promote the needs of disabled children and work creatively to ensure they have equal access to family placements. We particularly welcome applications from disabled people. The successful applicant will be subject to an enhanced CRB check. Closing date: 2nd November 2010. </description> <pubDate>11 October 2010</pubDate> </item> <item> <title>Welfare and Grant Giving Manager - London</title> <link>http://www.jobjar.co.uk/jobdetails.php?keywords=lon0016&page=1</link> <description>Our client is a charity for the elderley who is passionate about enhancing the quality of life of older people. Our client provides direct services through residential, nursing and dementia care homes They provide Community Services – day clubs, home support, home visiting, telephone befriending and grant giving - helping older people live independently at home. This position is to provide a compassionate and efficient Welfare and Grant Giving Service to beneficiaries both through self referrals and third parties. In addition the role will be responsible for the administration, authorisation and disbursement of these grants. Applicants, who must be sympathetic to the plight of older people in need of grants, will have high level administrative skills – preferably gained within a charity, not for profit organisation or public body, be very numerate and computer literate with exceptional communication skills, both verbal and written. Closing date for the position is 24th September and interviews will be held on the 8th October.</description> <pubDate>16 September 2010</pubDate> </item> <item> <title>Care Assistant - Birmingham</title> <link>http://www.jobjar.co.uk/jobdetails.php?keywords=bir0015&page=1</link> <description>We are currently recruiting experienced Care Assistants to work on a shift basis in Portsmouth. The ideal candidate will have a minimum of 6 months recent care experience, preferably in a Dementia Care setting. We are looking for people interested in carrying out temporary shifts or seeking permanent employment. * Qualified Social Workers * Senior Practitioners * Support Workers * Health Care Assistants* Domiciliary Carers * Housing Officers * Day Centre Workers * If you, or even someone you know, are looking to: • Work in a growing market • Have a proven track record in this field • Are flexible and adaptable • Are looking for full time, part time or ad hoc shifts • Want to work for one of the markets leaders • Are looking to develop your career Then please call us today as we would love to hear from you.</description> <pubDate>31 August 2010</pubDate> </item> <item> <title>TCM Doctor - Staffordshire</title> <link>http://www.jobjar.co.uk/jobdetails.php?keywords=sta0002&page=1</link> <description>We are looking for an experienced Traditional Chinese Medicine doctor to cover our ongoing business based in Staffordshire. Main duties include: To give the diagnosis based on the four phases: visual examination; listening/smelling; verbal questions and palpation. To give the treatment applying to individualized patients. This treatment includes external treatment, namely, Chinese massage and Acupuncture; and internal treatment, i.e. using herbs for preventive treatment as well as for curing illness. To manipulate and massage patient to discover the cause of pain, relieve discomfort, restore function and mobility and to correct irregularities in body structure. To insert needles under the skin, administers aromatic herbs and oils and massages body to relieve pain and restore health. To provide health consultations and ailment diagnosis. You should have a relevant qualification. Skilled at acupuncture and professional herbalist are essential. Good communication skill is desirable. Experience in dealing with English speaker patient will be preferable.</description> <pubDate>31 August 2010</pubDate> </item> <item> <title>Qualified Social Worker - Isle of Man</title> <link>http://www.jobjar.co.uk/jobdetails.php?keywords=isl0001&page=1</link> <description>Would you like to help shape the future of adoption service on the Isle of Man? Are you passionate about supporting adoptive families and children? Could you work in adoption with some degree of openness in each Island placement?</description> <pubDate>27 August 2010</pubDate> </item> <item> <title>Radiographer - Birmingham</title> <link>http://www.jobjar.co.uk/jobdetails.php?keywords=bir0018&page=1</link> <description>We are seeking an enthusiastic individual who is keen to expand her/his skills in basic conformal planning into full IMRT using helical tomotherapy and participate in prostate seed planning. A broad scope of career development is offered within a multi-disciplinary team involved with modern, state of the art equipment.</description> <pubDate>26 August 2010</pubDate> </item> <item> <title>Team Leader / Project Worker / Nurse - Substance Misuse - Somerset</title> <link>http://www.jobjar.co.uk/jobdetails.php?keywords=som0003&page=1</link> <description>JobJar is looking for a passionate, experienced and highly professional person to fill the position of Team Leader in our integrated community drug and alcohol service covering the Mendip district. The successful candidate will be the operational lead for this team and work with a variety of professionals, including nurses, counsellors, psychologists and doctors. The wider service supports approximately 1,400 people at any one time and the Team Leader is an integral part of the management team. We are looking for dynamic workers without clinical qualifications or clinicians, particularly Registered General or Mental Health Nurses, with experience of supervision or management and a sound working knowledge of substance misuse treatment. The Team Leader will help shape this developing and innovative service. The service offers all (MoC) Tier 2, 3 and access to Tier 4 support, including specialist prescribing. This post holds great potential for learning and personal development.</description> <pubDate>26 August 2010</pubDate> </item> <item> <title>Social Work Assistant - Monmouth (Gwent)</title> <link>http://www.jobjar.co.uk/jobdetails.php?keywords=gwe0002&page=1</link> <description>We are currently recruiting for an experienced Social Work Assistant for a vacancy within a Children with Disabilities Team based in Monmouthshire. You must have previous experience of child care social work, including Child in Need, complex case management, Child Protection work, Court work, Looked After Children and case assessment. You must have a recent CRB check to start immediately. We can offer excellent rates of pay of up to £15 per hour in return for your skills and experience.</description> <pubDate>25 August 2010</pubDate> </item> <item> <title>Staff Nurses RMN (Band 5-6) - London</title> <link>http://www.jobjar.co.uk/jobdetails.php?keywords=lon0014&page=1</link> <description>Our client is a leading independent mental health hospital in central London, providing a range of specialist and individually-tailored treatments for all mental health and emotional issues. We are looking for dynamic nurses who can contribute to the therapeutic programmes across the hospital. You will be an enthusiastic team player with good English communication skills, and be committed to quality patient care. The role requires flexibility to work days and nights. We are looking for Band 5/6 nurses. Full Time - Competitive Salary and Benefits Packages. Immediate Start. To apply please submit CV to aaron.raymond@jobjar.co.uk or ring us on 0121 288 2839.</description> <pubDate>25 Aug 2010 </pubDate> </item> <item> <title>Care Services Manager - East Sussex</title> <link>http://www.jobjar.co.uk/jobdetails.php?keywords=sus0002&page=1</link> <description>This role is to be based at our Head office in Seaford, East Sussex with frequent travel to 4 other Care Home Sites within East Sussex. The post holder will be expected to carry out Care Home inspections to a high standard and to ensure that CQC standards are met and maintained. It is essential that prospective candidates have considerable Senior Management Team level experience, people management experience and experience of budget planning and control. An ability to work autonomously in the role of Care Services Manager yet also able to work within the wider Senior Management Team and with staff at all levels within the organization and with service users to achieve objectives and improve services. The role also offers a friendly team environment and the opportunity to make an impact within an organization with an excellent reputation.</description> <pubDate>24 Aug 2010</pubDate> </item> </channel> </rss>
  3. I have fixed it, thank! Also, will I have to manually update my xml file or can it be updated itself?
  4. So how do I fix this?
  5. Hi I get an error when trying to add a link to my rss feed <link>http://www.jobjar.co.uk/jobdetails.php?keywords=lon0014&page=1</link> Something to do with the last part of the link because when I remove the page=1 it then works. How can I resolve this? Also, will I have to manually update my xml file for rss feeds or can it be updated automatically? If so how? Thanks
  6. Hi guys, I have a php script to arrange my data my title, location and date. However, when the data is arranged by date it is arranged with the earliest date first, I want it to arrange it as the latest date first, how do I do this? Regards // //orderBy if(isset($_GET['orderBy'])){ switch ($_GET['orderBy']){ case "date": $orderBy = " ORDER BY `Date Added` ASC"; break; case "title": $orderBy = " ORDER BY `Title` ASC"; break; case "location": $orderBy = " ORDER BY `Location` ASC"; break; default: break; } }
  7. h4r00n

    absolute divs

    Don't suppose you can give an example of how I can change one of the divs in say... the about us page?
  8. h4r00n

    absolute divs

    Hi, If you view my website on different size browsers you will see that the layout is pulled to the left other than the home page which is fine. I have my divs set at absolute and I think this might make a difference, Can somebody please suggest how I can fix this so that the layout is how it is supposed to be. Basically if the logo is in the exact same place as the home page logo then the content should automatically be in the correct place. http://www.jobjar.co.uk thanks
  9. Hi, When I click on a link from my home page before the home page is fully loaded I get the following error: Error #2044: Unhandled IOErrorEvent:. text=Error #2036: Load Never Completed. For example, if you visit http://www.jobjar.co.uk and repeatedly click the home link you will see the error appear. Any suggestions why this happens?
  10. Yes but I get the following error: Parse error: parse error in C:\Documents and Settings\haroon\My Documents\JobJar\wamp\www\Pages\Request.php on line 31 line 31 is $FieldS[0] = ;
  11. Hi, I followed your instructions and it the form looks to be working but when you click submit I get the following error: Parse error: parse error in C:\Documents and Settings\haroon\My Documents\JobJar\wamp\www\Pages\Request.php on line 31 and line 31 is: $FieldS[0] = ;
  12. Hi, thanks for all your help. The admin at 5quid host fixed it. Something about DNS propagation delay.. Cheers
  13. Thanks for the comments and advice guys. One last question, how is it displayed in your browser? It is displayed fine on my desktop but on my widescreen laptop the content is to the left, Thanks
  14. My domain name is www.jobjar.co.uk. Surely there must be a way to receive emails via google apps and have my host on a different server and the domain on another? Thanks
  15. hi, i have the mx updated. I did however change the dns settings in my domain according to my host so the site is running. Has this got anything to do with it? Domain is 123reg and host is 5quidhost. Thanks
  16. Hi guys, I was hoping somebody can help me. I have my company email set up in google apps and it was fully functioning before I uploaded my website to my host and changed the DNS settings on my domain. Now when I send a mail to my company email address it does not receive. How can I fix this? Do I have to change the DNS settings back to default? If so then my website will not work on the host. The MX is all correct on the domain according to google apps. Thanks in advance
  17. Hi, thanks for that. I will give it a try and see if it works. I bought it for 3.95USD, they allow you to buy it, the option is in the control panel once you log in, go to your form and hit the link to buy full php coding... Thanks
  18. Hi, I have a form from emailmeform.com but I have recently updated it and bought the full php coding from them. I though it would be straight forward copy and paste but it's not. Can somebody help? The code is <?php // -------------------------------------------------------------- // Form generated by EmailMeForm.com Script. // You can save this form by clicking on File->Save As in your // browser menu and choose the file name ( should end with .php ) // -------------------------------------------------------------- // Warning: Please do not modify the PHP code of this form, unless // you know what you do. // Form data names and variables $FName = 'Request Callback'; $FEmail = 'Haroon Rahman <enquiries@jobjar.co.uk>'; $FSpamEmail = ''; $FWebsiteAfter = 'http://www.jobjar.co.uk/Submit%20Thankyou.html'; $FCopyToSender = 0; $FExporting = 0; $FDMode = 1; $FMesFromT = 2; $FMesName = 0; $FMesFrom = 2; $FMesSubjectT = 2; $FMesSubject = 0; $FCopyToSender = 0; $FExporting = 0; $FieldsNo = 6; $FieldName[0] = 'Name*'; $FieldType[0] = 1; $FieldTypeExt[0] = ''; $FieldCols[0] = 25; $FieldRows[0] = 0; $FieldS[0] = ; $FieldRequired[0] = 1; $FieldName[1] = 'Contact number*'; $FieldType[1] = 1; $FieldTypeExt[1] = ''; $FieldCols[1] = 25; $FieldRows[1] = 0; $FieldS[1] = ; $FieldRequired[1] = 1; $FieldName[2] = 'Email address'; $FieldType[2] = 1; $FieldTypeExt[2] = ''; $FieldCols[2] = 25; $FieldRows[2] = 0; $FieldS[2] = ; $FieldRequired[2] = 0; $FieldName[3] = 'Comments'; $FieldType[3] = 2; $FieldTypeExt[3] = ''; $FieldCols[3] = 20; $FieldRows[3] = 5; $FieldS[3] = ; $FieldRequired[3] = 0; $FieldName[4] = 'Best time to call'; $FieldType[4] = 5; $FieldTypeExt[4] = 'Anytime|Morning|Afternoon|Evening'; $FieldCols[4] = 0; $FieldRows[4] = 0; $FieldS[4] = ; $FieldRequired[4] = 0; $FieldName[5] = 'How did you hear about us?'; $FieldType[5] = 1; $FieldTypeExt[5] = ''; $FieldCols[5] = 25; $FieldRows[5] = 0; $FieldS[5] = ; $FieldRequired[5] = 0; // Error Messages $HtmlErrorStart = '<font size="2" color="#CC0808">'; $HtmlErrorEnd = '</font>'; $msgErrorTooLongs = ' is too long! (Max '; $msgErrorTooLonge = ' characters)'; $msgErrorTooShorts = ' is too short! (Min '; $msgErrorTooShorte = ' characters)'; $msgErrorFieldEmpty = ' is empty! ( This field is required )'; $msgError = 'Error : '; $msgErrorBadFields = 'Some fields are empty or invalid.'; // Needed functions // -------------------------------------------------------------- function checkminsize($input, $min) // Check a string size { if (strlen($input)<$min) return 0; else return 1; } // -------------------------------------------------------------- function checkmaxsize($input, $max) // Check a string size { if (strlen($input)>$max) return 0; else return 1; } // -------------------------------------------------------------- function CheckTextSize($text, $min, $max, $errno, $errfieldname) { global $mmsg, $verifyok, $HtmlErrorStart, $HtmlErrorEnd, $msgErrorTooLongs, $msgErrorTooLonge, $msgErrorTooShorts, $msgErrorTooShorte, $msgErrorFieldEmpty, $mmsgt, $msgError, $msgErrorBadFields; if (!checkminsize($text,$min)) { $mmsg[$errno] = $HtmlErrorStart . $errfieldname . $msgErrorTooShorts . $min . $msgErrorTooShorte . $HtmlErrorEnd; $verifyok = 0; } if (!checkmaxsize($text,$max)) { $mmsg[$errno] = $HtmlErrorStart . $errfieldname . $msgErrorTooLongs . $max . $msgErrorTooLonge . $HtmlErrorEnd; $verifyok = 0; } if ($min>0) if (!checkminsize($text,1)) { $mmsg[$errno] = $HtmlErrorStart . $errfieldname . $msgErrorFieldEmpty . $HtmlErrorEnd; $verifyok = 0; } if ($verifyok == 0 ) { $mmsg[0] = $msgError . $msgErrorBadFields; $mmsgt = 1; } return $verifyok; } // -------------------------------------------------------------- function SecurityCheckCode($Turing) { global $ImageCode; if ( !isset( $_SESSION['turing_string'] ) ) { $ImageCode = ''; return 1; } else if ( strtoupper($_SESSION['turing_string']) == strtoupper($Turing) ) { $ImageCode = 'ok'; return 1; } else { $ImageCode = 'wrong'; return 0; } } // -------------------------------------------------------------- function getip() // Returns the real Ip in most cases { if (isSet($_SERVER)) { if (isSet($_SERVER["HTTP_X_FORWARDED_FOR"])) { $realip = $_SERVER["HTTP_X_FORWARDED_FOR"]; } elseif (isSet($_SERVER["HTTP_CLIENT_IP"])) { $realip = $_SERVER["HTTP_CLIENT_IP"]; } else { $realip = $_SERVER["REMOTE_ADDR"]; } } else { if ( getenv( 'HTTP_X_FORWARDED_FOR' ) ) { $realip = getenv( 'HTTP_X_FORWARDED_FOR' ); } elseif ( getenv( 'HTTP_CLIENT_IP' ) ) { $realip = getenv( 'HTTP_CLIENT_IP' ); } else { $realip = getenv( 'REMOTE_ADDR' ); } } return $realip; } // Processing form // -------------------------------------------------------------- session_start(); $RealIp = getip(); if ( $_SESSION['FReferer'] == '' ) { $R = @$_SERVER['HTTP_REFERER']; if ( R != '' ) $_SESSION['FReferer'] = $R; } $Referer = $_SESSION['FReferer']; // ------------------------------------------------------------------------------------- function CheckEmail($email,$minsize,$maxsize,$err,$fieldname) { global $mmsg, $mmsgt, $HtmlErrorStart, $HtmlErrorEnd, $verifyok; // check if the email string is not empty, has at least 4 chars, is smaller than 64 CheckTextSize($email, $minsize, $maxsize, $err, $fieldname); if ( ($minsize == 0 ) AND ( $email == '') ) return 0; // check if is has a valid email format xxx@yyy.domainname if ( ! (valid_email($email)) ) {$mmsg[$err] = $HtmlErrorStart . 'Email does not appear to be valid' . $HtmlErrorEnd; $mmsgt = 1; $verifyok = 0; return 1;} // check if the email string contains more than 1 email if ( substr_count($FEmail, '@') > 1 ) {$mmsg[$err] = $HtmlErrorStart . 'Only one email is allowed' . $HtmlErrorEnd; $mmsgt = 1; $verifyok = 0;}; } // ------------------------------------------------------------------------------------- function valid_email($email) { // First, we check that there's one @ symbol, and that the lengths are right if (!ereg("^[^@]{1,64}@[^@]{1,255}$", $email)) { // Email invalid because wrong number of characters in one section, or wrong number of @ symbols. return false; } // Split it into sections to make life easier $email_array = explode("@", $email); $local_array = explode(".", $email_array[0]); for ($i = 0; $i < sizeof($local_array); $i++) { if (!ereg("^(([A-Za-z0-9!#$%&#038;'*+/=?^_`{|}~-][A-Za-z0-9!#$%&#038;'*+/=?^_`{|}~\.-]{0,63})|(\"[^(\\|\")]{0,62}\"))$", $local_array[$i])) { return false; } } if (!ereg("^\[?[0-9\.]+\]?$", $email_array[1])) { // Check if domain is IP. If not, it should be valid domain name $domain_array = explode(".", $email_array[1]); if (sizeof($domain_array) < 2) { return false; // Not enough parts to domain } for ($i = 0; $i < sizeof($domain_array); $i++) { if (!ereg("^(([A-Za-z0-9][A-Za-z0-9-]{0,61}[A-Za-z0-9])|([A-Za-z0-9]+))$", $domain_array[$i])) { return false; } } } return true; } // Get form settings and fields for ($i=0;$i<$FieldsNo;$i++) { if ( $FieldType[$i] ==3 ) { // checkbox $FieldData[$i] = ''; $Options = explode('|', $FieldTypeExt[$i]); $OptionsNo = count($Options); for ($j=0;$j<$OptionsNo;$j++) { $fd = trim($_POST['FieldData' . $i . '-' . $j]); $FieldData[$i] .= $fd; if ( ($j<($OptionsNo-1)) and ( $fd !='' ) ) $FieldData[$i] .= ', '; } } else $FieldData[$i] = trim($_POST['FieldData' . $i]); } if ( $HTTP_POST_VARS ) { // Basic verifications of the form submitted, check if the version is ok // and the fields number corsesponds if ($FieldsNo <> count($FieldData)) { echo 'Error: The number of submitted data fields ( ' . count($FieldData) . ' ) does not corespond to the form ( ' . $FName . ' wich has ' . $FieldsNo . ' fields ).'; return 3; } $Hida2 = trim($_POST['hida2']); if ($Hida2 != '') { echo 'Error: Spam submission detected ).'; return 4; } $mmsgt = 0; $verifyok = 1; $SpamScore = 0; $DupFields = 0; $Spam = 0; $Hida2 = trim($_POST['hida2']); if ($Hida2 != '') { $mmsg[0] = $HtmlErrorStart . 'Error: Your submission is spam.' . $HtmlErrorEnd; $mmsgt = 1; $Spam = 1; } $SpamWord = array( 'http', 'URL', 'cialis', 'viagra', 'xxx', 'valium'); for ($i=0;$i<$FieldsNo;$i++) if ($FieldType[$i]<6) { if ($FieldRequired[$i] == 1) { CheckTextSize($FieldData[$i], 1, 10000, ($i+1), $FieldName[$i]); if ( ($FMesFromT ==2) && ( $FMesFrom == $i ) ) CheckEmail($FieldData[$FMesFrom], 4, 64, ($i+1), $FieldName[$i]); } for ($j=0;$j<Count($SpamWord);$j++) { $SpamNo = substr_count($FieldData[$i],$SpamWord[$j]); $SpamScore = $SpamScore + $SpamNo; } for ($j=$i+1;$j<$FieldsNo;$j++) if ( ( ($FieldType[$i] ==1 ) or ( $FieldType[$i] ==2) ) and ( ($FieldType[$j] ==1 ) or ( $FieldType[$j] ==2) ) ) if ($FieldData[$i] != '' ) if ($FieldData[$i] == $FieldData[$j]) $DupFields = $DupFields + 1; } if ($SpamScore > 10) { $mmsg[0] = $HtmlErrorStart . 'Error: Your submission is spam.' . $HtmlErrorEnd; $mmsgt = 1; $Spam = 2; } // Check if the Turing Code is correct $Turing = trim($_POST['Turing']); if ( ! ( SecurityCheckCode($Turing)) ) { $mmsg[0] = $HtmlErrorStart . 'Error: The Code that you entered is not the correct code from the Verification Image!' . $HtmlErrorEnd; $mmsgt = 1; $Spam = 4; } // check for new lines in inapropiate places // check for new lines in the From name and email if ($FMesFromT ==2) if (preg_match("/(%0A|%0D|\\n+|\\r+)/i",$FieldData[$FMesName] . $FieldData[$FMesFrom])) $FMesFromT = 1; // check for new lines in the Subject if ($FMesSubjectT ==2) if (preg_match("/(%0A|%0D|\\n+|\\r+)/i",$FieldData[$FMesSubject])) $FMesSubjectT = 1; if ( ($mmsgt !=1) or ($Spam > 0 ) ) { $mime_boundary=md5(time()); // Prepare email $headers = ""; if ($Spam == 0) { if ($FMesFromT ==1) $fromaddress = "EmailMeForm <no-reply@emailmeform.com>"; elseif ($FMesFromT ==2) { $CustomerName = $FieldData[$FMesName]; $CustomerEmail = $FieldData[$FMesFrom]; $fromaddress = "$CustomerName <no-reply@emailmeform.com>"; } $headers .= "From: $fromaddress\r\n"; $headers .= "Reply-To: $FieldData[$FMesName] <$FieldData[$FMesFrom]>\r\n"; } else $headers .= "From: EmailMeForm <no-reply@emailmeform.com>\r\n"; $subject = 'Feedback via the ' . $FName; if ($FMesSubjectT ==2) $subject = $FName . ': ' . $FieldData[$FMesSubject]; if ($Spam > 0) $subject = $FName . ' Spam submission detected'; $headers .= "Message-ID: <".time()."-@blueplaza.net>\r\n"; $headers .= "X-Mailer: PHP v".phpversion()."\r\n"; $headers .= "Content-Type: multipart/mixed; boundary=\"".$mime_boundary. '"' . "\r\n\r\n"; $body = "--".$mime_boundary. "\r\n"; $body .= "Content-Type: text/plain; charset=\"utf-8\"\r\n"; $body .= "Content-Transfer-Encoding: 8bit\r\n\r\n"; if ($Spam > 0) { $body .= " The following submission has been detected as spam.\r\n"; $body .= ' Spam type: '; switch ($Spam) { case 1 : $body .= "Bad hidden field\r\n\r\n"; break; case 2 : $body .= "Bad words detected\r\n\r\n"; break; case 3 : $body .= "Same data was filled in more than half fields\r\n\r\n"; break; case 4 : $body .= "Bad or invalid captcha code\r\n\r\n"; break; case 5 : $body .= "Unknown Ip\r\n\r\n"; break; case 6 : $body .= "Injection attack\r\n\r\n"; break; case 7 : $body .= "Injection attack\r\n\r\n"; break; } } for ($i=0;$i<$FieldsNo;$i++) if ($FieldType[$i]<6) $body .= $FieldName[$i] . ': ' . $FieldData[$i] . "\r\n"; $body .= "---------------------------------------------------------------------\r\n"; $body .= 'Visitor Ip: ' . $RealIp . "\r\n"; if ($FExporting == 1) { $body .= "*** Text Database Entry ***\r\n"; for ($i=0;$i<($FieldsNo-1);$i++) $body .= '"' . $FieldName[$i] . '",'; $body .= '"' . $FieldName[$FieldsNo-1] . '"' . "\r\n"; for ($i=0;$i<($FieldsNo-1);$i++) $body .= '"' . $FieldData[$i] . '",'; $body .= '"' . $FieldData[$FieldsNo-1] . '"' . "\r\n"; } // Adding attachments for($i=0; $i<$FieldsNo; $i++) if ($FieldType[$i] == 6) { $fd = 'FieldData' . $i; if (is_uploaded_file($_FILES["$fd"][tmp_name])) { $handle=fopen($_FILES["$fd"][tmp_name], 'rb'); $f_contents=fread($handle, filesize($_FILES["$fd"][tmp_name])); $f_contents=chunk_split(base64_encode($f_contents)); $f_type=filetype($_FILES["$fd"][tmp_name]); fclose($handle); # Attachment $filename = $_FILES["$fd"][name]; $body .= "--".$mime_boundary."\r\n"; $body .= 'Content-Type: ' . $_FILES["$fd"][type] . '; name="' . $filename . '"' . "\r\n"; $body .= "Content-Transfer-Encoding: base64\r\n"; $body .= "Content-Description: $FieldName[$i]\r\n"; $body .= 'Content-Disposition: attachment; filename="' . $filename . '"'."\r\n\r\n"; $body .= $f_contents."\r\n\r\n"; } } # Finished $body .= "--".$mime_boundary."--\r\n\r\n"; // finish with two eol's for better security. see Injection. if ($Spam == 0) { // We try to send the email with verification code if (mail("$FEmail", $subject, $body, $headers) ) if ( $SaveEmails == 1) { // The mail has been sent succesfuly, update the email table $query="UPDATE email SET Status='delivered', DateDelivered = NOW() WHERE EmailId='$EmailId'"; mysql_query($query) or die(mysql_error()); } } else if ($FSpamEmail != '') @mail("$FSpamEmail", $subject, $body, $headers); // If Sending a copy to visitor is checked and the field from where to get the visitor email // address is selected we send a copy to the visitor if ( ($FCopyToSender == 1) && ($FMesFromT ==2) AND ($Spam == 0) ) { $headers = "From: $FFirstName $FLastName <no-reply@emailmeform.com>\r\n"; $headers = "Reply-to: $FFirstName $FLastName <$FEmail>\r\n"; $subject = 'We have received your email'; if ($FMesSubjectT ==2) $subject .= ': ' . $FieldData[$FMesSubject]; $body = 'Hello ' . $FieldData[$FMesName] . ",\r\n \r\n"; $body .= "We have received your form submission, thank you!\r\n \r\n"; $body .= "Below is the data submitted:\r\n \r\n"; for ($i=0;$i<$FieldsNo;$i++) if ( $FieldType[$i] <6 ) $body .= $FieldName[$i] . ' : ' . $FieldData[$i] . "\r\n"; $body .= "\r\nBest regards,\r\n"; $body .= "$FFirstName $FLastName\r\n"; // We try to send the email with verification code @mail("$FieldData[$FMesName] <$FieldData[$FMesFrom]>", $subject, $body, $headers); } if ($Spam == 0 ) { // Redirect visitor if form was on site, or display an message if form was in window switch ($FDMode) { case 0 : case 1 : case 2 : $loc = 'Location: ' . $FWebsiteAfter; header($loc); exit; case 3: echo 'We received your message, thank you for contacting us.'; } return 0; } } } // preparing font formating $ft = '<font'; $sf = 0; if ($FFontFace != '' ) { $ft .= ' face="' . $FFontFace . '"'; $sf = 1; } if ($FFontSize != '' ) { $ft .= ' size="' . $FFontSize . '"'; $sf = 1; } if ($FColor != '' ) { $ft .= ' color="' . $FColor . '"'; $sf = 1; } if ($sf == 1 ) { $ft .= '>'; $fta = '</font>'; } else {$ft = ''; $fta = ''; } ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Request Callback</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head> <body> <form method="post" action="" enctype="multipart/form-data"> <table cellpadding="2" cellspacing="0" border="0" bgcolor="#FFFFFF"> <tr> <td> Please complete the form below and one of our dedicated representatives will call you back as soon as possible. <div style="<? if ($mmsg[0] != '') if ($mmsgt == 1) { echo ' display : block; font: 12px Verdana, Arial, sans-serif; font-weight: bold; color: #CC0808; width : 100%; padding: 6px; border : 1px #FFD39F dashed; background-color: #FFFFEB; margin-bottom: 16px; '; } else echo 'display : none; '; ?>" id="mainmsg"> <? echo $mmsg[0]; ?></div> </td> </tr> </table> <br> <table cellpadding="2" cellspacing="0" border="0" bgcolor="#FFFFFF"> <tr valign="top"> <td nowrap> Name* </td> <td> <input type="text" name="FieldData0" value="<? echo $FieldData[0] ?>" maxlength="100" size="25"><? echo ' ' . $mmsg[1]; ?> </td> </tr> <tr valign="top"> <td nowrap> Contact number* </td> <td> <input type="text" name="FieldData1" value="<? echo $FieldData[1] ?>" maxlength="100" size="25"><? echo ' ' . $mmsg[2]; ?> </td> </tr> <tr valign="top"> <td nowrap> Email address </td> <td> <input type="text" name="FieldData2" value="<? echo $FieldData[2] ?>" maxlength="100" size="25"><? echo ' ' . $mmsg[3]; ?> </td> </tr> <tr valign="top"> <td nowrap> Comments </td> <td> <textarea name="FieldData3" cols="20" rows="5"><? echo $FieldData[3] ?></textarea><br><? echo ' ' . $mmsg[4]; ?> </td> </tr> <tr valign="top"> <td nowrap> Best time to call </td> <td> <select name="FieldData4"><option value="Anytime">Anytime</option><option value="Morning">Morning</option><option value="Afternoon">Afternoon</option><option value="Evening">Evening</option></select><? echo ' ' . $mmsg[5]; ?> </td> </tr> <tr valign="top"> <td nowrap> How did you hear about us? </td> <td> <input type="text" name="FieldData5" value="<? echo $FieldData[5] ?>" maxlength="100" size="25"><? echo ' ' . $mmsg[6]; ?> </td> </tr> <tr> <td> </td> <td align="right"> <input type="text" name="hida2" value="" maxlength="100" size="3" style="display : none;"> <input type="submit" class="btn" value="Submit Request" name="Submit"> </td> </tr> </table> </form> </body> </html> I can't just copy and paste this into my website because it doesn't seem to work. Here is the coding for the webpage that I want to put this in: <div id="apDiv12"> <form method="post" action="http://www.emailmeform.com/fid.php?formid=301757" enctype="multipart/form-data" accept-charset="UTF-8"><table cellpadding="2" cellspacing="0" border="0" bgcolor="#FFFFFF"><tr> <td><font face="Georgia" size="2" color="#000000">Please complete the form below and one of our dedicated representatives will call you back as soon as possible. </font> <div style="" id="mainmsg"> </div></td></tr></table><br><table cellpadding="2" cellspacing="0" border="0" bgcolor="#FFFFFF"><tr valign="top"> <td nowrap><font face="Georgia" size="2" color="#000000">Name<span style="color: #FF7113">*</span></font></td> <td><input type="text" name="FieldData0" size="25"> </td></tr><tr valign="top"> <td nowrap><font face="Georgia" size="2" color="#000000">Contact number<span style="color: #FF7113">*</span></font></td> <td><input type="text" name="FieldData1" size="25"> </td></tr><tr valign="top"> <td nowrap><font face="Georgia" size="2" color="#000000">Email address</font></td> <td><input type="text" name="FieldData2" size="25"> </td></tr><tr valign="top"> <td nowrap><font face="Georgia" size="2" color="#000000">Comments</font></td> <td><textarea name="FieldData3" cols="20" rows="5"></textarea><br> </td></tr><tr valign="top"> <td nowrap><font face="Georgia" size="2" color="#000000">Best time to call</font></td> <td><select name="FieldData4"><option value="Anytime">Anytime</option><option value="Morning">Morning</option><option value="Afternoon">Afternoon</option><option value="Evening">Evening</option></select> </td></tr><tr valign="top"> <td nowrap><font face="Georgia" size="2" color="#000000">How did you hear about us?</font></td> <td><input type="text" name="FieldData5" size="25"> </td></tr><tr> <td colspan="2"></td></tr><tr> <td> </td> <td align="right"><input type="text" name="hida2" value="" maxlength="100" size="3" style="display : none;"><input type="submit" class="btn" value="Submit Request" name="Submit"></td></tr><tr><td colspan=2 align="center"><br></td></tr></table></form> </form></div> Thanks
  19. LOL, yep that's right... quick questions. Email sent from my forms on my website no longer get sent to my @jobjar.co.uk email account in google apps. It was working before I uploaded my site to a host and change the DNS on the domain site. Any way I can fix this?
  20. Your right, the boxes do not work when the text it linked.. I dont know how to get rid of the orange box that appear sometimes when the page loads and the mouse hovers the boxes.... any suggestions?
  21. Can someone please tell me how I can remove the three little boxes with an x in them at http://www.jobjar.co.uk/search.php
  22. Wow, you site looks really good. Maybe I should have asked a pro to help with the layout and design...
  23. Ok, is it displayed properly in your browser because on some the layout is too the left. Do you mean to hyperlink the text in the boxes?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.