This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Services; | |
/** | |
* Model that holds the Expo Push Tokens | |
* | |
* Related to App\User | |
*/ | |
use App\PushToken; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<rss version="2.0" xmlns:g="http://base.google.com/ns/1.0"> | |
<channel> | |
{exp:channel:entries channel="product" limit="3000" category="{segment_3}" dynamic="no"} | |
{exp:store:product entry_id="{entry_id}" disable_javascript="yes" disable_form="yes"} | |
<item> | |
<title><![CDATA[{title}]]></title> | |
<link>{url_title_path="products/single"}</link> | |
<description><![CDATA[{product_description}]]></description> | |
<g:id>{entry_id}</g:id> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$to = "[email protected]"; | |
$subject = "Battery Outfitters :: LifeCycle Program"; | |
$message = "Message"; | |
$headers = array(); | |
$headers[] = "MIME-Version: 1.0"; | |
$headers[] = "From: Battery Outfitters <[email protected]>"; | |
$headers[] = "Content-type: text/html; charset=iso-8859-1"; | |
$headers[] = "Bcc: JJ Chong <[email protected]>"; | |
mail($to, $subject, message, implode("\r\n", $headers)); |