GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   php/perl code share (https://gfy.com/showthread.php?t=843728)

fris 07-25-2008 01:53 PM

php/perl code share
 
post a snippet:

using custom fields in wordpress for a sponsor embed by providing the direct url to the flv in a custom field for a post.

Code:

<?

if(get_post_meta($post->ID, 'brazzer', true))  {   
$values = get_post_custom_values("brazzer");   
$brazzer = $values[0];
echo "<a href=\"http://enter.brazzersnetwork.com/track/NTI5Ojc6NDE/\"><img border=\"0\" src=\"/banners/brazzer.gif\"></a><br/><br/>";
echo "<embed src=\"/images/flvplayer.swf\" width=\"320\" height=\"260\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" flashvars=\"file=$brazzer&showdigits=true&autostart=true&overstretch=true\" />";
echo "<br/><br/><font size=\"3\" face=\"Verdana\"><a href=\"http://enter.brazzersnetwork.com/track/NTI5Ojc6NDE/\">click here for more brazzer movies</a></font><br/><br/>";
}
?>



All times are GMT -7. The time now is 06:31 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123