This file contains hidden or 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
.react-SearchNav { | |
display: none; | |
} | |
.react-MainBody { | |
border: 10px solid pink !important; | |
} |
This file contains hidden or 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
// tsconfig.json | |
{ | |
"compilerOptions": { | |
"outDir": "./dist/", | |
"esModuleInterop": false, | |
"allowSyntheticDefaultImports": true, | |
"sourceMap": true, | |
"strict": true, | |
"noImplicitAny": true, | |
"noImplicitThis": true, |
This file contains hidden or 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
<table id="bodyTable" style="border-collapse: collapse; height: 100%; margin: 0; padding: 0; width: 100%; background-color: #fafbff;" border="0" width="100%" cellspacing="0" cellpadding="0" align="center"> | |
<tbody> | |
<tr> | |
<td id="bodyCell" style="height: 100%; margin: 0; padding: 60px 0; width: 100%;" align="center" valign="top"> | |
<table style="width: 600px;" border="0" width="600" cellspacing="0" cellpadding="0" align="center"> | |
<tbody> | |
<tr> | |
<td style="width: 600px;" align="center" valign="top" width="600"> | |
<table class="templateContainer" style="border-collapse: collapse; border: 1px solid #d9e1ec; max-width: 600px !important;" border="0" width="100%" cellspacing="0" cellpadding="0"> | |
<tbody> |
This file contains hidden or 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
<table id="bodyTable" style="border-collapse: collapse; height: 100%; margin: 0; padding: 0; width: 100%; background-color: #fafbff;" border="0" width="100%" cellspacing="0" cellpadding="0" align="center"> | |
<tbody> | |
<tr> | |
<td id="bodyCell" style="height: 100%; margin: 0; padding: 60px 0; width: 100%;" align="center" valign="top"> | |
<table style="width: 600px;" border="0" width="600" cellspacing="0" cellpadding="0" align="center"> | |
<tbody> | |
<tr> | |
<td style="width: 600px;" align="center" valign="top" width="600"> | |
<table class="templateContainer" style="border-collapse: collapse; border: 1px solid #d9e1ec; max-width: 600px !important;" border="0" width="100%" cellspacing="0" cellpadding="0"> | |
<tbody> |
This file contains hidden or 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
<table id="bodyTable" style="border-collapse: collapse; height: 100%; margin: 0; padding: 0; width: 100%; background-color: #fafbff;" border="0" width="100%" cellspacing="0" cellpadding="0" align="center"> | |
<tbody> | |
<tr> | |
<td id="bodyCell" style="height: 100%; margin: 0; padding: 60px 0; width: 100%;" align="center" valign="top"> | |
<table style="width: 600px;" border="0" width="600" cellspacing="0" cellpadding="0" align="center"> | |
<tbody> | |
<tr> | |
<td style="width: 600px;" align="center" valign="top" width="600"> | |
<table class="templateContainer" style="border-collapse: collapse; border: 1px solid #d9e1ec; max-width: 600px !important;" border="0" width="100%" cellspacing="0" cellpadding="0"> | |
<tbody> |
This file contains hidden or 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
<table id="bodyTable" style="border-collapse: collapse; height: 100%; margin: 0; padding: 0; width: 100%; background-color: #fafbff;" border="0" width="100%" cellspacing="0" cellpadding="0" align="center"> | |
<tbody> | |
<tr> | |
<td id="bodyCell" style="height: 100%; margin: 0; padding: 60px 0; width: 100%;" align="center" valign="top"> | |
<table style="width: 600px;" border="0" width="600" cellspacing="0" cellpadding="0" align="center"> | |
<tbody> | |
<tr> | |
<td style="width: 600px;" align="center" valign="top" width="600"> | |
<table class="templateContainer" style="border-collapse: collapse; border: 1px solid #d9e1ec; max-width: 600px !important;" border="0" width="100%" cellspacing="0" cellpadding="0"> | |
<tbody> |
This file contains hidden or 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
$ids = \SolidAffiliate\Models\Visit::select_ids([ | |
'referral_id' => 0, | |
'created_at' => [ | |
'operator' => '<', | |
'value' => \SolidAffiliate\Lib\Utils::date_picker_time('-30 days') | |
] | |
]); | |
foreach ($ids as $id) { | |
\SolidAffiliate\Models\Visit::delete($id, false); |
This file contains hidden or 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 | |
/** | |
* This function will attempt to find the Affiliate who referred the current visitor, | |
* and then return the user id of that affiliate. | |
* | |
* Example: | |
* $id = get_user_id_sld (); defaults user id to "1" | |
* $id = get_user_id_sld ( 2 ); defaults user id to "2" | |
* | |
* @param integer $user_id_to_return_if_no_affiliate_found |
This file contains hidden or 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"?> | |
<!-- See https://psalm.dev/docs/running_psalm/configuration/#projectfiles --> | |
<psalm | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns="https://getpsalm.org/schema/config" | |
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd" | |
phpVersion="5.6.20" | |
errorLevel="1" | |
resolveFromConfigFile="true" |