<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>php Link Directory Mods &#187; phpLD Code Additions</title>
	<atom:link href="http://phplinkdirectorymods.com/blog/category/phpld-code-additions/feed" rel="self" type="application/rss+xml" />
	<link>http://phplinkdirectorymods.com/blog</link>
	<description>phpLD Web Directories and Link Submissions</description>
	<lastBuildDate>Mon, 30 Jan 2012 05:38:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Automatic Time Stamping for Link Expiration Dates in phpLD</title>
		<link>http://phplinkdirectorymods.com/blog/code-fixes-for-phpld/phpld-automatic-expiry-date-time-stamping</link>
		<comments>http://phplinkdirectorymods.com/blog/code-fixes-for-phpld/phpld-automatic-expiry-date-time-stamping#comments</comments>
		<pubDate>Wed, 27 Feb 2008 14:25:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[phpLD Code Additions]]></category>
		<category><![CDATA[phpLD Important Fixes]]></category>
		<category><![CDATA[link expiration]]></category>
		<category><![CDATA[phpLD Mods]]></category>

		<guid isPermaLink="false">http://phplinkdirectorymods.com/blog/2008/02/27/phpld-automatic-expiry-date-time-stamping.html</guid>
		<description><![CDATA[In the phpLD directory script you have the ability to add links for defined time periods. They can be set standard in the administration panel as unlimited in which the link is permanent and never expires and also for selectable time periods of 30 days, 90 days, 180 days and 1 year. Upon expiration the [...]]]></description>
			<content:encoded><![CDATA[<p><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">In the phpLD <em>directory</em> script you have the ability to add links for defined time periods. They can be set standard in the administration panel as unlimited in which the <em>link</em> is permanent and never expires and also for selectable time periods of 30 days, 90 days, 180 days and 1 year. Upon expiration the links are set as inactive. </span></p>
<p><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">With the standard setup of <strong>php Link Directory</strong>, the expiry date is not automatically set, so the site administrator has to manually add the link expiration date in the admin panel when approving the link submission. This can sometimes be forgotten or possibly done with an improper date.With the following expiry date code directory administrators can now automate the process and have the proper expiration date automatically set for them no matter what their link settings are. For instance if you are setting links for a period of 1 year then all links submitted will be stamped with an expiry date of 365 days. If your settings are for unlimited (permanent) links then there will be no expiration date stamped as the link will never expire.</span><br />
<span style="font-size: 9pt; font-family: 'Arial','sans-serif';">We have provided basic code and instructions for you below so it will be easy for you to modify your directory for the automatic time stamping of links that will automatically add the expiry date in your phpLD administration panel. </span><span id="more-7"></span><br />
<span style="font-size: 9pt; font-family: 'Arial','sans-serif';">In the version 3.2 we have added in a featured year setting to give you an example of how to modify the code for additional custom link types if you have any.</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">Please make sure that you use the proper code for the version of phpLD that you are running. We have provided version 3.2 and then below that we provide the standard code for version 3.3. </span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">Feel free to use this code on any directories that you own. </span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">If you find the code useful to your directory then of course we would appreciate a link back to our site: <a href="http://phplinkdirectorymods.com/"><span style="color: #3e81b4;">http://phplinkdirectorymods.com</span></a> or if you like, any donations will be much appreciated and could be sent by PayPal and help with the further releasing of other helpful mods for the <strong>php Link Directory</strong> script.</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">For donation information please visit our site and use the donation button on our home page.Â </span></p>
<p><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">Â <span style="font-size: 9pt; font-family: 'Arial','sans-serif';">Version 3.2 Expiry Date Automatic Time stamping Mod</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">1.</span><span style="font-size: 7pt; font-family: 'Times New Roman','serif';">Â Â Â Â  </span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">Open your submit.php file.</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">2.</span><span style="font-size: 7pt; font-family: 'Times New Roman','serif';">Â Â Â Â  </span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">Find the following: Â Â </span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">$data['LAST_CHECKED']Â Â  = gmdate (â€™Y-m-d H:i:sâ€™);Â Â </span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">$data['DATE_ADDED']Â Â Â Â  = gmdate (â€™Y-m-d H:i:sâ€™);Â Â </span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">$data['DATE_MODIFIED']Â  = gmdate (â€™Y-m-d H:i:sâ€™);</span><span style="font-size: 7pt; font-family: 'Times New Roman','serif';">Â Â Â Â </span><span style="font-size: 7pt; font-family: 'Times New Roman','serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">3. Below that &#8211; Add the following code below and save:Â Â </span></span></p>
<p><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">/////////BELOW LINES EXPIRY DATE STAMP by:<em> </em><a href="http://phplinkdirectorymods.com/"><span style="color: #3e81b4;">http://phplinkdirectorymods.com</span></a>Â </span></p>
<p><em><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span></em><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">if (PAY_ENABLE == â€˜1â€² &amp;&amp; FTR_ENABLE == 1 &amp;&amp; $_POST['LINK_TYPE'] == â€˜featuredyearâ€™)Â Â </span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">{Â Â </span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">$data['EXPIRY_DATE']Â  = date(â€Y-m-dâ€,time()+31536000);Â </span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">}Â </span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">elseif (PAY_ENABLE == â€˜1â€² &amp;&amp; PAY_UM == â€˜1â€²)Â </span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">{</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">$data['EXPIRY_DATE']Â  = date(â€Y-m-dâ€,time()+2592000);Â </span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">}</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">elseif (PAY_ENABLE == â€˜1â€² &amp;&amp; PAY_UM == â€˜2â€²)</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">{</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">$data['EXPIRY_DATE']Â  = date(â€Y-m-d H:i:sâ€,time()+7776000);Â </span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">}</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">elseif (PAY_ENABLE == â€˜1â€² &amp;&amp; PAY_UM == â€˜3â€²)Â Â </span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">{</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">$data['EXPIRY_DATE']Â  = date(â€Y-m-dâ€,time()+15552000);Â </span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">}</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">elseif (PAY_ENABLE == â€˜1â€² &amp;&amp; PAY_UM == â€˜4â€²)</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">{</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">$data['EXPIRY_DATE']Â  = date(â€Y-m-dâ€,time()+31536000);Â </span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">}</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">elseÂ Â  $data['EXPIRY_DATE']Â  = â€˜NULLâ€™;Â Â  </span></p>
<p>Â </p>
<p><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">////////////END EXPIRY DATE TIMESTAMPÂ forÂ phpLDÂ v3.2Â </span></p>
<p><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';">Version 3.3 Expiry Date Automatic Time stamping Mod</span><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';">1.</span><span style="font-size: 7pt; line-height: 115%; font-family: 'Times New Roman','serif';">Â Â Â Â  </span><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';">Open your submit.php file.</span><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';">2.</span><span style="font-size: 7pt; line-height: 115%; font-family: 'Times New Roman','serif';">Â Â Â Â  </span><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';">Find the following: Â Â </span><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';">$data['LAST_CHECKED']Â Â  = gmdate (â€™Y-m-d H:i:sâ€™);Â Â </span><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';">$data['DATE_ADDED']Â Â Â Â  = gmdate (â€™Y-m-d H:i:sâ€™);Â Â </span><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';">$data['DATE_MODIFIED']Â  = gmdate (â€™Y-m-d H:i:sâ€™);</span><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';">3.</span><span style="font-size: 7pt; line-height: 115%; font-family: 'Times New Roman','serif';">Â Â Â Â  </span><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';">Below that &#8211; Add the following code below and save:</span><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';"> </span><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';">Â </span></p>
<p>Â </p>
<p><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';"><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';"><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">/////////BELOW LINES EXPIRY DATE STAMP by: </span><a href="http://phplinkdirectorymods.com/"><span style="color: #3e81b4;">http://phplinkdirectorymods.com</span></a></span><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">if (PAY_ENABLE == â€˜1â€² &amp;&amp; $_POST['LINK_TYPE'] == â€˜featuredâ€™ &amp;&amp; PAY_UMF == â€˜5â€²)</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">{</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">$data['EXPIRY_DATE'] = â€˜NULLâ€™;</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">}</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">elseif (PAY_ENABLE == â€˜1â€² &amp;&amp; $_POST['LINK_TYPE'] == â€˜featuredâ€™ &amp;&amp; PAY_UMF == â€˜2â€²)</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">{</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">$data['EXPIRY_DATE'] = date(â€Y-m-dâ€,time()+7776000);</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">}</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">elseif (PAY_ENABLE == â€˜1â€² &amp;&amp; $_POST['LINK_TYPE'] == â€˜featuredâ€™ &amp;&amp; PAY_UMF == â€˜3â€²)</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">{</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">$data['EXPIRY_DATE'] = date(â€Y-m-dâ€,time()+15552000);</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">}</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">elseif (PAY_ENABLE == â€˜1â€² &amp;&amp; $_POST['LINK_TYPE'] == â€˜featuredâ€™ &amp;&amp; PAY_UMF == â€˜4â€²)</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">{</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">$data['EXPIRY_DATE'] = date(â€Y-m-dâ€,time()+31536000);</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">}</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">elseif (PAY_ENABLE == â€˜1â€² &amp;&amp; $_POST['LINK_TYPE'] == â€˜normalâ€™ &amp;&amp; PAY_UMN == â€˜5â€²)</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">{</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">$data['EXPIRY_DATE'] = â€˜NULLâ€™;</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">}</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">elseif (PAY_ENABLE == â€˜1â€² &amp;&amp; $_POST['LINK_TYPE'] == â€˜normalâ€™ &amp;&amp; PAY_UMN == â€˜2â€² )</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">{</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">$data['EXPIRY_DATE'] = date(â€Y-m-dâ€,time()+7776000);</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">}</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">elseif (PAY_ENABLE == â€˜1â€² &amp;&amp; $_POST['LINK_TYPE'] == â€˜normalâ€™ &amp;&amp; PAY_UMN == â€˜3â€²)</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">{</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">$data['EXPIRY_DATE'] = date(â€Y-m-dâ€,time()+15552000);</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">}</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">elseif (PAY_ENABLE == â€˜1â€² &amp;&amp; $_POST['LINK_TYPE'] == â€˜normalâ€™ &amp;&amp; PAY_UMN == â€˜4â€²)</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">{</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">$data['EXPIRY_DATE'] = date(â€Y-m-dâ€,time()+31536000);</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">}</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">elseif (PAY_ENABLE == â€˜1â€² &amp;&amp; $_POST['LINK_TYPE'] == â€˜reciprocalâ€™ &amp;&amp; PAY_UMR == â€˜5â€²)</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">{</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">$data['EXPIRY_DATE'] = â€˜NULLâ€™;</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">}</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">elseif (PAY_ENABLE == â€˜1â€² &amp;&amp; $_POST['LINK_TYPE'] == â€˜reciprocalâ€™ &amp;&amp; PAY_UMR == â€˜2â€² )</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">{</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">$data['EXPIRY_DATE'] = date(â€Y-m-dâ€,time()+7776000);</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">}</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">elseif (PAY_ENABLE == â€˜1â€² &amp;&amp; $_POST['LINK_TYPE'] == â€˜reciprocalâ€™ &amp;&amp; PAY_UMR == â€˜3â€²)</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">{</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">$data['EXPIRY_DATE'] = date(â€Y-m-dâ€,time()+15552000);</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">}</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">elseif (PAY_ENABLE == â€˜1â€² &amp;&amp; $_POST['LINK_TYPE'] == â€˜reciprocalâ€™ &amp;&amp; PAY_UMR == â€˜4â€²)</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">{</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">$data['EXPIRY_DATE'] = date(â€Y-m-dâ€,time()+31536000);</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">}</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">else</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">$data['EXPIRY_DATE'] = â€˜NULLâ€™;</span></span><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';"> </span></span></span></p>
<p>Â </p>
<p><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';"><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';"><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;">//////////END EXPIRY DATEÂ Â  </span></span></span></span></p>
<p><span style="font-size: 9pt; font-family: 'Arial','sans-serif';"><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';"><span style="font-size: 9pt; line-height: 115%; font-family: 'Arial','sans-serif';"><span style="font-size: 10pt; line-height: 115%;"><span style="font-family: Calibri;"><br />
Your php Link Directory should now be set to correctly and automatically add the link expiration date if it is suppose to have one.</span></span><span style="font-size: 10pt; line-height: 115%;"><br />
</span><span style="font-family: Calibri;"><span style="font-size: 10pt; line-height: 115%;">We release this mod in the hopes that it will be helpful to fellow directory owners and operators of the phpLD directory script.Â </span></span><span style="font-family: Calibri;">Â </span></span></span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://phplinkdirectorymods.com/blog/code-fixes-for-phpld/phpld-automatic-expiry-date-time-stamping/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

