Advertisement
Guest User

Script newsletter

a guest
Nov 26th, 2016
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 31.02 KB | None | 0 0
  1. <?php
  2.  
  3. if(isset($_POST['submit-newsletter'])){
  4. $email = htmlspecialchars($_POST['email_newsletter']);
  5. }
  6.  
  7. require('phpmailer/PHPMailerAutoload.php');
  8.  
  9. $mail = new PHPMailer();
  10. $mail->IsSMTP(); // activation des fonctions SMTP
  11. $mail->Host = 'mail.guide-me.fr';
  12. $mail->SMTPAuth = true;
  13. $mail->Port = 25; // Par défaut
  14.  
  15. // Authentification
  16. $mail->Username = "contact@guide-me.fr";
  17. $mail->Password = "ikn709p300";
  18.  
  19. //Encodage UTF-8
  20. $mail->CharSet = 'UTF-8';
  21. // Expéditeur
  22. $mail->SetFrom('contact@guide-me.fr', 'GuideMe');
  23. // Destinataire
  24. $mail->AddAddress('$email', '');
  25. // Objet
  26. $mail->Subject = 'Confirmation d\'inscription à notre newsletter';
  27.  
  28. // Votre message
  29. $mail->MsgHTML('<!doctype html>
  30. <html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
  31. <head>
  32. <!-- NAME: 1 COLUMN -->
  33. <!--[if gte mso 15]>
  34. <xml>
  35. <o:OfficeDocumentSettings>
  36. <o:AllowPNG/>
  37. <o:PixelsPerInch>96</o:PixelsPerInch>
  38. </o:OfficeDocumentSettings>
  39. </xml>
  40. <![endif]-->
  41. <meta charset="UTF-8">
  42. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  43. <meta name="viewport" content="width=device-width, initial-scale=1">
  44. <title>*|MC:SUBJECT|*</title>
  45.  
  46. <style type="text/css">
  47. p{
  48. margin:10px 0;
  49. padding:0;
  50. }
  51. table{
  52. border-collapse:collapse;
  53. }
  54. h1,h2,h3,h4,h5,h6{
  55. display:block;
  56. margin:0;
  57. padding:0;
  58. }
  59. img,a img{
  60. border:0;
  61. height:auto;
  62. outline:none;
  63. text-decoration:none;
  64. }
  65. body,#bodyTable,#bodyCell{
  66. height:100%;
  67. margin:0;
  68. padding:0;
  69. width:100%;
  70. }
  71. #outlook a{
  72. padding:0;
  73. }
  74. img{
  75. -ms-interpolation-mode:bicubic;
  76. }
  77. table{
  78. mso-table-lspace:0pt;
  79. mso-table-rspace:0pt;
  80. }
  81. .ReadMsgBody{
  82. width:100%;
  83. }
  84. .ExternalClass{
  85. width:100%;
  86. }
  87. p,a,li,td,blockquote{
  88. mso-line-height-rule:exactly;
  89. }
  90. a[href^=tel],a[href^=sms]{
  91. color:inherit;
  92. cursor:default;
  93. text-decoration:none;
  94. }
  95. p,a,li,td,body,table,blockquote{
  96. -ms-text-size-adjust:100%;
  97. -webkit-text-size-adjust:100%;
  98. }
  99. .ExternalClass,.ExternalClass p,.ExternalClass td,.ExternalClass div,.ExternalClass span,.ExternalClass font{
  100. line-height:100%;
  101. }
  102. a[x-apple-data-detectors]{
  103. color:inherit !important;
  104. text-decoration:none !important;
  105. font-size:inherit !important;
  106. font-family:inherit !important;
  107. font-weight:inherit !important;
  108. line-height:inherit !important;
  109. }
  110. #bodyCell{
  111. padding:10px;
  112. }
  113. .templateContainer{
  114. max-width:600px !important;
  115. }
  116. a.mcnButton{
  117. display:block;
  118. }
  119. .mcnImage{
  120. vertical-align:bottom;
  121. }
  122. .mcnTextContent{
  123. word-break:break-word;
  124. }
  125. .mcnTextContent img{
  126. height:auto !important;
  127. }
  128. .mcnDividerBlock{
  129. table-layout:fixed !important;
  130. }
  131. /*
  132. @tab Page
  133. @section Background Style
  134. @tip Set the background color and top border for your email. You may want to choose colors that match your company\'s branding.
  135. */
  136. body,#bodyTable{
  137. /*@editable*/background-color:#FAFAFA;
  138. }
  139. /*
  140. @tab Page
  141. @section Background Style
  142. @tip Set the background color and top border for your email. You may want to choose colors that match your company\'s branding.
  143. */
  144. #bodyCell{
  145. /*@editable*/border-top:0;
  146. }
  147. /*
  148. @tab Page
  149. @section Email Border
  150. @tip Set the border for your email.
  151. */
  152. .templateContainer{
  153. /*@editable*/border:0;
  154. }
  155. /*
  156. @tab Page
  157. @section Heading 1
  158. @tip Set the styling for all first-level headings in your emails. These should be the largest of your headings.
  159. @style heading 1
  160. */
  161. h1{
  162. /*@editable*/color:#202020;
  163. /*@editable*/font-family:Helvetica;
  164. /*@editable*/font-size:26px;
  165. /*@editable*/font-style:normal;
  166. /*@editable*/font-weight:bold;
  167. /*@editable*/line-height:125%;
  168. /*@editable*/letter-spacing:normal;
  169. /*@editable*/text-align:left;
  170. }
  171. /*
  172. @tab Page
  173. @section Heading 2
  174. @tip Set the styling for all second-level headings in your emails.
  175. @style heading 2
  176. */
  177. h2{
  178. /*@editable*/color:#202020;
  179. /*@editable*/font-family:Helvetica;
  180. /*@editable*/font-size:22px;
  181. /*@editable*/font-style:normal;
  182. /*@editable*/font-weight:bold;
  183. /*@editable*/line-height:125%;
  184. /*@editable*/letter-spacing:normal;
  185. /*@editable*/text-align:left;
  186. }
  187. /*
  188. @tab Page
  189. @section Heading 3
  190. @tip Set the styling for all third-level headings in your emails.
  191. @style heading 3
  192. */
  193. h3{
  194. /*@editable*/color:#202020;
  195. /*@editable*/font-family:Helvetica;
  196. /*@editable*/font-size:20px;
  197. /*@editable*/font-style:normal;
  198. /*@editable*/font-weight:bold;
  199. /*@editable*/line-height:125%;
  200. /*@editable*/letter-spacing:normal;
  201. /*@editable*/text-align:left;
  202. }
  203. /*
  204. @tab Page
  205. @section Heading 4
  206. @tip Set the styling for all fourth-level headings in your emails. These should be the smallest of your headings.
  207. @style heading 4
  208. */
  209. h4{
  210. /*@editable*/color:#202020;
  211. /*@editable*/font-family:Helvetica;
  212. /*@editable*/font-size:18px;
  213. /*@editable*/font-style:normal;
  214. /*@editable*/font-weight:bold;
  215. /*@editable*/line-height:125%;
  216. /*@editable*/letter-spacing:normal;
  217. /*@editable*/text-align:left;
  218. }
  219. /*
  220. @tab Preheader
  221. @section Preheader Style
  222. @tip Set the background color and borders for your email\'s preheader area.
  223. */
  224. #templatePreheader{
  225. /*@editable*/background-color:#fafafa;
  226. /*@editable*/background-image:none;
  227. /*@editable*/background-repeat:no-repeat;
  228. /*@editable*/background-position:center;
  229. /*@editable*/background-size:cover;
  230. /*@editable*/border-top:0;
  231. /*@editable*/border-bottom:0;
  232. /*@editable*/padding-top:9px;
  233. /*@editable*/padding-bottom:9px;
  234. }
  235. /*
  236. @tab Preheader
  237. @section Preheader Text
  238. @tip Set the styling for your email\'s preheader text. Choose a size and color that is easy to read.
  239. */
  240. #templatePreheader .mcnTextContent,#templatePreheader .mcnTextContent p{
  241. /*@editable*/color:#656565;
  242. /*@editable*/font-family:Helvetica;
  243. /*@editable*/font-size:12px;
  244. /*@editable*/line-height:150%;
  245. /*@editable*/text-align:left;
  246. }
  247. /*
  248. @tab Preheader
  249. @section Preheader Link
  250. @tip Set the styling for your email\'s preheader links. Choose a color that helps them stand out from your text.
  251. */
  252. #templatePreheader .mcnTextContent a,#templatePreheader .mcnTextContent p a{
  253. /*@editable*/color:#656565;
  254. /*@editable*/font-weight:normal;
  255. /*@editable*/text-decoration:underline;
  256. }
  257. /*
  258. @tab Header
  259. @section Header Style
  260. @tip Set the background color and borders for your email\'s header area.
  261. */
  262. #templateHeader{
  263. /*@editable*/background-color:#FFFFFF;
  264. /*@editable*/background-image:none;
  265. /*@editable*/background-repeat:no-repeat;
  266. /*@editable*/background-position:center;
  267. /*@editable*/background-size:cover;
  268. /*@editable*/border-top:0;
  269. /*@editable*/border-bottom:0;
  270. /*@editable*/padding-top:9px;
  271. /*@editable*/padding-bottom:0;
  272. }
  273. /*
  274. @tab Header
  275. @section Header Text
  276. @tip Set the styling for your email\'s header text. Choose a size and color that is easy to read.
  277. */
  278. #templateHeader .mcnTextContent,#templateHeader .mcnTextContent p{
  279. /*@editable*/color:#202020;
  280. /*@editable*/font-family:Helvetica;
  281. /*@editable*/font-size:16px;
  282. /*@editable*/line-height:150%;
  283. /*@editable*/text-align:left;
  284. }
  285. /*
  286. @tab Header
  287. @section Header Link
  288. @tip Set the styling for your email\'s header links. Choose a color that helps them stand out from your text.
  289. */
  290. #templateHeader .mcnTextContent a,#templateHeader .mcnTextContent p a{
  291. /*@editable*/color:#2BAADF;
  292. /*@editable*/font-weight:normal;
  293. /*@editable*/text-decoration:underline;
  294. }
  295. /*
  296. @tab Body
  297. @section Body Style
  298. @tip Set the background color and borders for your email\'s body area.
  299. */
  300. #templateBody{
  301. /*@editable*/background-color:#FFFFFF;
  302. /*@editable*/background-image:none;
  303. /*@editable*/background-repeat:no-repeat;
  304. /*@editable*/background-position:center;
  305. /*@editable*/background-size:cover;
  306. /*@editable*/border-top:0;
  307. /*@editable*/border-bottom:2px solid #EAEAEA;
  308. /*@editable*/padding-top:0;
  309. /*@editable*/padding-bottom:9px;
  310. }
  311. /*
  312. @tab Body
  313. @section Body Text
  314. @tip Set the styling for your email\'s body text. Choose a size and color that is easy to read.
  315. */
  316. #templateBody .mcnTextContent,#templateBody .mcnTextContent p{
  317. /*@editable*/color:#202020;
  318. /*@editable*/font-family:Helvetica;
  319. /*@editable*/font-size:16px;
  320. /*@editable*/line-height:150%;
  321. /*@editable*/text-align:left;
  322. }
  323. /*
  324. @tab Body
  325. @section Body Link
  326. @tip Set the styling for your email\'s body links. Choose a color that helps them stand out from your text.
  327. */
  328. #templateBody .mcnTextContent a,#templateBody .mcnTextContent p a{
  329. /*@editable*/color:#2BAADF;
  330. /*@editable*/font-weight:normal;
  331. /*@editable*/text-decoration:underline;
  332. }
  333. /*
  334. @tab Footer
  335. @section Footer Style
  336. @tip Set the background color and borders for your email\'s footer area.
  337. */
  338. #templateFooter{
  339. /*@editable*/background-color:#FAFAFA;
  340. /*@editable*/background-image:none;
  341. /*@editable*/background-repeat:no-repeat;
  342. /*@editable*/background-position:center;
  343. /*@editable*/background-size:cover;
  344. /*@editable*/border-top:0;
  345. /*@editable*/border-bottom:0;
  346. /*@editable*/padding-top:9px;
  347. /*@editable*/padding-bottom:9px;
  348. }
  349. /*
  350. @tab Footer
  351. @section Footer Text
  352. @tip Set the styling for your email\'s footer text. Choose a size and color that is easy to read.
  353. */
  354. #templateFooter .mcnTextContent,#templateFooter .mcnTextContent p{
  355. /*@editable*/color:#656565;
  356. /*@editable*/font-family:Helvetica;
  357. /*@editable*/font-size:12px;
  358. /*@editable*/line-height:150%;
  359. /*@editable*/text-align:center;
  360. }
  361. /*
  362. @tab Footer
  363. @section Footer Link
  364. @tip Set the styling for your email\'s footer links. Choose a color that helps them stand out from your text.
  365. */
  366. #templateFooter .mcnTextContent a,#templateFooter .mcnTextContent p a{
  367. /*@editable*/color:#656565;
  368. /*@editable*/font-weight:normal;
  369. /*@editable*/text-decoration:underline;
  370. }
  371. @media only screen and (min-width:768px){
  372. .templateContainer{
  373. width:600px !important;
  374. }
  375.  
  376. } @media only screen and (max-width: 480px){
  377. body,table,td,p,a,li,blockquote{
  378. -webkit-text-size-adjust:none !important;
  379. }
  380.  
  381. } @media only screen and (max-width: 480px){
  382. body{
  383. width:100% !important;
  384. min-width:100% !important;
  385. }
  386.  
  387. } @media only screen and (max-width: 480px){
  388. #bodyCell{
  389. padding-top:10px !important;
  390. }
  391.  
  392. } @media only screen and (max-width: 480px){
  393. .mcnImage{
  394. width:100% !important;
  395. }
  396.  
  397. } @media only screen and (max-width: 480px){
  398. .mcnCartContainer,.mcnCaptionTopContent,.mcnRecContentContainer,.mcnCaptionBottomContent,.mcnTextContentContainer,.mcnBoxedTextContentContainer,.mcnImageGroupContentContainer,.mcnCaptionLeftTextContentContainer,.mcnCaptionRightTextContentContainer,.mcnCaptionLeftImageContentContainer,.mcnCaptionRightImageContentContainer,.mcnImageCardLeftTextContentContainer,.mcnImageCardRightTextContentContainer{
  399. max-width:100% !important;
  400. width:100% !important;
  401. }
  402.  
  403. } @media only screen and (max-width: 480px){
  404. .mcnBoxedTextContentContainer{
  405. min-width:100% !important;
  406. }
  407.  
  408. } @media only screen and (max-width: 480px){
  409. .mcnImageGroupContent{
  410. padding:9px !important;
  411. }
  412.  
  413. } @media only screen and (max-width: 480px){
  414. .mcnCaptionLeftContentOuter .mcnTextContent,.mcnCaptionRightContentOuter .mcnTextContent{
  415. padding-top:9px !important;
  416. }
  417.  
  418. } @media only screen and (max-width: 480px){
  419. .mcnImageCardTopImageContent,.mcnCaptionBlockInner .mcnCaptionTopContent:last-child .mcnTextContent{
  420. padding-top:18px !important;
  421. }
  422.  
  423. } @media only screen and (max-width: 480px){
  424. .mcnImageCardBottomImageContent{
  425. padding-bottom:9px !important;
  426. }
  427.  
  428. } @media only screen and (max-width: 480px){
  429. .mcnImageGroupBlockInner{
  430. padding-top:0 !important;
  431. padding-bottom:0 !important;
  432. }
  433.  
  434. } @media only screen and (max-width: 480px){
  435. .mcnImageGroupBlockOuter{
  436. padding-top:9px !important;
  437. padding-bottom:9px !important;
  438. }
  439.  
  440. } @media only screen and (max-width: 480px){
  441. .mcnTextContent,.mcnBoxedTextContentColumn{
  442. padding-right:18px !important;
  443. padding-left:18px !important;
  444. }
  445.  
  446. } @media only screen and (max-width: 480px){
  447. .mcnImageCardLeftImageContent,.mcnImageCardRightImageContent{
  448. padding-right:18px !important;
  449. padding-bottom:0 !important;
  450. padding-left:18px !important;
  451. }
  452.  
  453. } @media only screen and (max-width: 480px){
  454. .mcpreview-image-uploader{
  455. display:none !important;
  456. width:100% !important;
  457. }
  458.  
  459. } @media only screen and (max-width: 480px){
  460. /*
  461. @tab Mobile Styles
  462. @section Heading 1
  463. @tip Make the first-level headings larger in size for better readability on small screens.
  464. */
  465. h1{
  466. /*@editable*/font-size:22px !important;
  467. /*@editable*/line-height:125% !important;
  468. }
  469.  
  470. } @media only screen and (max-width: 480px){
  471. /*
  472. @tab Mobile Styles
  473. @section Heading 2
  474. @tip Make the second-level headings larger in size for better readability on small screens.
  475. */
  476. h2{
  477. /*@editable*/font-size:20px !important;
  478. /*@editable*/line-height:125% !important;
  479. }
  480.  
  481. } @media only screen and (max-width: 480px){
  482. /*
  483. @tab Mobile Styles
  484. @section Heading 3
  485. @tip Make the third-level headings larger in size for better readability on small screens.
  486. */
  487. h3{
  488. /*@editable*/font-size:18px !important;
  489. /*@editable*/line-height:125% !important;
  490. }
  491.  
  492. } @media only screen and (max-width: 480px){
  493. /*
  494. @tab Mobile Styles
  495. @section Heading 4
  496. @tip Make the fourth-level headings larger in size for better readability on small screens.
  497. */
  498. h4{
  499. /*@editable*/font-size:16px !important;
  500. /*@editable*/line-height:150% !important;
  501. }
  502.  
  503. } @media only screen and (max-width: 480px){
  504. /*
  505. @tab Mobile Styles
  506. @section Boxed Text
  507. @tip Make the boxed text larger in size for better readability on small screens. We recommend a font size of at least 16px.
  508. */
  509. .mcnBoxedTextContentContainer .mcnTextContent,.mcnBoxedTextContentContainer .mcnTextContent p{
  510. /*@editable*/font-size:14px !important;
  511. /*@editable*/line-height:150% !important;
  512. }
  513.  
  514. } @media only screen and (max-width: 480px){
  515. /*
  516. @tab Mobile Styles
  517. @section Preheader Visibility
  518. @tip Set the visibility of the email\'s preheader on small screens. You can hide it to save space.
  519. */
  520. #templatePreheader{
  521. /*@editable*/display:block !important;
  522. }
  523.  
  524. } @media only screen and (max-width: 480px){
  525. /*
  526. @tab Mobile Styles
  527. @section Preheader Text
  528. @tip Make the preheader text larger in size for better readability on small screens.
  529. */
  530. #templatePreheader .mcnTextContent,#templatePreheader .mcnTextContent p{
  531. /*@editable*/font-size:14px !important;
  532. /*@editable*/line-height:150% !important;
  533. }
  534.  
  535. } @media only screen and (max-width: 480px){
  536. /*
  537. @tab Mobile Styles
  538. @section Header Text
  539. @tip Make the header text larger in size for better readability on small screens.
  540. */
  541. #templateHeader .mcnTextContent,#templateHeader .mcnTextContent p{
  542. /*@editable*/font-size:16px !important;
  543. /*@editable*/line-height:150% !important;
  544. }
  545.  
  546. } @media only screen and (max-width: 480px){
  547. /*
  548. @tab Mobile Styles
  549. @section Body Text
  550. @tip Make the body text larger in size for better readability on small screens. We recommend a font size of at least 16px.
  551. */
  552. #templateBody .mcnTextContent,#templateBody .mcnTextContent p{
  553. /*@editable*/font-size:16px !important;
  554. /*@editable*/line-height:150% !important;
  555. }
  556.  
  557. } @media only screen and (max-width: 480px){
  558. /*
  559. @tab Mobile Styles
  560. @section Footer Text
  561. @tip Make the footer content text larger in size for better readability on small screens.
  562. */
  563. #templateFooter .mcnTextContent,#templateFooter .mcnTextContent p{
  564. /*@editable*/font-size:14px !important;
  565. /*@editable*/line-height:150% !important;
  566. }
  567.  
  568. }</style></head>
  569. <body>
  570. <center>
  571. <table align="center" border="0" cellpadding="0" cellspacing="0" height="100%" width="100%" id="bodyTable">
  572. <tr>
  573. <td align="center" valign="top" id="bodyCell">
  574. <!-- BEGIN TEMPLATE // -->
  575. <!--[if gte mso 9]>
  576. <table align="center" border="0" cellspacing="0" cellpadding="0" width="600" style="width:600px;">
  577. <tr>
  578. <td align="center" valign="top" width="600" style="width:600px;">
  579. <![endif]-->
  580. <table border="0" cellpadding="0" cellspacing="0" width="100%" class="templateContainer">
  581. <tr>
  582. <td valign="top" id="templatePreheader"><table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnImageBlock" style="min-width:100%;">
  583. <tbody class="mcnImageBlockOuter">
  584. <tr>
  585. <td valign="top" style="padding:9px" class="mcnImageBlockInner">
  586. <table align="left" width="100%" border="0" cellpadding="0" cellspacing="0" class="mcnImageContentContainer" style="min-width:100%;">
  587. <tbody><tr>
  588. <td class="mcnImageContent" valign="top" style="padding-right: 9px; padding-left: 9px; padding-top: 0; padding-bottom: 0; text-align:center;">
  589.  
  590.  
  591. <img align="center" alt="" src="https://gallery.mailchimp.com/105dbb60432334c891c96a800/images/2365a070-2901-4a4e-87c8-493da9c4b5fb.jpg" width="564" style="max-width:864px; padding-bottom: 0; display: inline !important; vertical-align: bottom;" class="mcnImage">
  592.  
  593.  
  594. </td>
  595. </tr>
  596. </tbody></table>
  597. </td>
  598. </tr>
  599. </tbody>
  600. </table></td>
  601. </tr>
  602. <tr>
  603. <td valign="top" id="templateHeader"><table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnTextBlock" style="min-width:100%;">
  604. <tbody class="mcnTextBlockOuter">
  605. <tr>
  606. <td valign="top" class="mcnTextBlockInner" style="padding-top:9px;">
  607. <!--[if mso]>
  608. <table align="left" border="0" cellspacing="0" cellpadding="0" width="100%" style="width:100%;">
  609. <tr>
  610. <![endif]-->
  611.  
  612. <!--[if mso]>
  613. <td valign="top" width="600" style="width:600px;">
  614. <![endif]-->
  615. <table align="left" border="0" cellpadding="0" cellspacing="0" style="max-width:100%; min-width:100%;" width="100%" class="mcnTextContentContainer">
  616. <tbody><tr>
  617.  
  618. <td valign="top" class="mcnTextContent" style="padding-top:0; padding-right:18px; padding-bottom:9px; padding-left:18px;">
  619.  
  620. <h1>Vous êtes bien inscrit à la newsletter de notre site.</h1>
  621. Vous recevrez à dès maintenant toutes les notifications par email.
  622.  
  623. <p>&nbsp;</p>
  624.  
  625. </td>
  626. </tr>
  627. </tbody></table>
  628. <!--[if mso]>
  629. </td>
  630. <![endif]-->
  631.  
  632. <!--[if mso]>
  633. </tr>
  634. </table>
  635. <![endif]-->
  636. </td>
  637. </tr>
  638. </tbody>
  639. </table><table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnFollowBlock" style="min-width:100%;">
  640. <tbody class="mcnFollowBlockOuter">
  641. <tr>
  642. <td align="center" valign="top" style="padding:9px" class="mcnFollowBlockInner">
  643. <table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnFollowContentContainer" style="min-width:100%;">
  644. <tbody><tr>
  645. <td align="center" style="padding-left:9px;padding-right:9px;">
  646. <table border="0" cellpadding="0" cellspacing="0" width="100%" style="min-width:100%;" class="mcnFollowContent">
  647. <tbody><tr>
  648. <td align="center" valign="top" style="padding-top:9px; padding-right:9px; padding-left:9px;">
  649. <table align="center" border="0" cellpadding="0" cellspacing="0">
  650. <tbody><tr>
  651. <td align="center" valign="top">
  652. <!--[if mso]>
  653. <table align="center" border="0" cellspacing="0" cellpadding="0">
  654. <tr>
  655. <![endif]-->
  656.  
  657. <!--[if mso]>
  658. <td align="center" valign="top">
  659. <![endif]-->
  660.  
  661.  
  662. <table align="left" border="0" cellpadding="0" cellspacing="0" style="display:inline;">
  663. <tbody><tr>
  664. <td valign="top" style="padding-right:10px; padding-bottom:9px;" class="mcnFollowContentItemContainer">
  665. <table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnFollowContentItem">
  666. <tbody><tr>
  667. <td align="left" valign="middle" style="padding-top:5px; padding-right:10px; padding-bottom:5px; padding-left:9px;">
  668. <table align="left" border="0" cellpadding="0" cellspacing="0" width="">
  669. <tbody><tr>
  670.  
  671. <td align="center" valign="middle" width="24" class="mcnFollowIconContent">
  672. <a href="mailto:contact@guide-me.fr" target="_blank"><img src="https://cdn-images.mailchimp.com/icons/social-block-v2/gray-forwardtofriend-48.png" style="display:block;" height="24" width="24" class=""></a>
  673. </td>
  674.  
  675.  
  676. </tr>
  677. </tbody></table>
  678. </td>
  679. </tr>
  680. </tbody></table>
  681. </td>
  682. </tr>
  683. </tbody></table>
  684.  
  685. <!--[if mso]>
  686. </td>
  687. <![endif]-->
  688.  
  689. <!--[if mso]>
  690. <td align="center" valign="top">
  691. <![endif]-->
  692.  
  693.  
  694. <table align="left" border="0" cellpadding="0" cellspacing="0" style="display:inline;">
  695. <tbody><tr>
  696. <td valign="top" style="padding-right:10px; padding-bottom:9px;" class="mcnFollowContentItemContainer">
  697. <table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnFollowContentItem">
  698. <tbody><tr>
  699. <td align="left" valign="middle" style="padding-top:5px; padding-right:10px; padding-bottom:5px; padding-left:9px;">
  700. <table align="left" border="0" cellpadding="0" cellspacing="0" width="">
  701. <tbody><tr>
  702.  
  703. <td align="center" valign="middle" width="24" class="mcnFollowIconContent">
  704. <a href="https://www.facebook.com/guidemepage" target="_blank"><img src="https://cdn-images.mailchimp.com/icons/social-block-v2/gray-facebook-48.png" style="display:block;" height="24" width="24" class=""></a>
  705. </td>
  706.  
  707.  
  708. </tr>
  709. </tbody></table>
  710. </td>
  711. </tr>
  712. </tbody></table>
  713. </td>
  714. </tr>
  715. </tbody></table>
  716.  
  717. <!--[if mso]>
  718. </td>
  719. <![endif]-->
  720.  
  721. <!--[if mso]>
  722. <td align="center" valign="top">
  723. <![endif]-->
  724.  
  725.  
  726. <table align="left" border="0" cellpadding="0" cellspacing="0" style="display:inline;">
  727. <tbody><tr>
  728. <td valign="top" style="padding-right:0; padding-bottom:9px;" class="mcnFollowContentItemContainer">
  729. <table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnFollowContentItem">
  730. <tbody><tr>
  731. <td align="left" valign="middle" style="padding-top:5px; padding-right:10px; padding-bottom:5px; padding-left:9px;">
  732. <table align="left" border="0" cellpadding="0" cellspacing="0" width="">
  733. <tbody><tr>
  734.  
  735. <td align="center" valign="middle" width="24" class="mcnFollowIconContent">
  736. <a href="https://guide-me.fr" target="_blank"><img src="https://cdn-images.mailchimp.com/icons/social-block-v2/gray-link-48.png" style="display:block;" height="24" width="24" class=""></a>
  737. </td>
  738.  
  739.  
  740. </tr>
  741. </tbody></table>
  742. </td>
  743. </tr>
  744. </tbody></table>
  745. </td>
  746. </tr>
  747. </tbody></table>
  748.  
  749. <!--[if mso]>
  750. </td>
  751. <![endif]-->
  752.  
  753. <!--[if mso]>
  754. </tr>
  755. </table>
  756. <![endif]-->
  757. </td>
  758. </tr>
  759. </tbody></table>
  760. </td>
  761. </tr>
  762. </tbody></table>
  763. </td>
  764. </tr>
  765. </tbody></table>
  766.  
  767. </td>
  768. </tr>
  769. </tbody>
  770. </table></td>
  771. </tr>
  772. <tr>
  773. <td valign="top" id="templateBody"></td>
  774. </tr>
  775. <tr>
  776. <td valign="top" id="templateFooter"><table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnDividerBlock" style="min-width:100%;">
  777. <tbody class="mcnDividerBlockOuter">
  778. <tr>
  779. <td class="mcnDividerBlockInner" style="min-width: 100%; padding: 10px 18px 25px;">
  780. <table class="mcnDividerContent" border="0" cellpadding="0" cellspacing="0" width="100%" style="min-width: 100%;border-top: 2px solid #EEEEEE;">
  781. <tbody><tr>
  782. <td>
  783. <span></span>
  784. </td>
  785. </tr>
  786. </tbody></table>
  787. <!--
  788. <td class="mcnDividerBlockInner" style="padding: 18px;">
  789. <hr class="mcnDividerContent" style="border-bottom-color:none; border-left-color:none; border-right-color:none; border-bottom-width:0; border-left-width:0; border-right-width:0; margin-top:0; margin-right:0; margin-bottom:0; margin-left:0;" />
  790. -->
  791. </td>
  792. </tr>
  793. </tbody>
  794. </table></td>
  795. </tr>
  796. </table>
  797. <!--[if gte mso 9]>
  798. </td>
  799. </tr>
  800. </table>
  801. <![endif]-->
  802. <!-- // END TEMPLATE -->
  803. </td>
  804. </tr>
  805. </table>
  806. </center>
  807. </body>
  808. </html>');
  809.  
  810. // Envoi du mail avec gestion des erreurs
  811. if(!$mail->Send()) {
  812. echo 'Erreur : ' . $mail->ErrorInfo;
  813. } else {
  814. header('Location: ../index.php');
  815. }
  816.  
  817. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement