Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-22-2010, 07:30 PM
Tequila's Avatar
Tequila Tequila is offline
The Grim One
 
Join Date: Jan 2009
Location: Souther Tier, New York State
Posts: 1,356
Gender: Female
Credits: 124,493
Tequila is on a distinguished road
Default :NEWDEFINITION:?

I am adding in a new defined code to show an extra feed (with a php include for news).

The code I have is:
PHP Code:
function getextrafeed(){

include("config.php");

//tada, let's show some news & quick links

$extrafeed = "<table border='0' cellpadding='2' cellspacing='5'><tr><td><?php include('news.php');?></td><td><a href='adopt.php'><img src='http://i46.tinypic.com/wisp51.jpg' border='0' alt='Adopt' title='Adopt' /></a> <a href='profile.php?user=".$loggedinname."'><img src='http://i46.tinypic.com/315e4r6.jpg' border='0' alt='Your Grimoire' title='Your Grimoire' /></a> <a href='pages.php?page=donate'><img src='http://i50.tinypic.com/28ixqbs.jpg' border='0' alt='Donate' title='Donate' /></a></td></tr></table>";


return $extrafeed;

}
Now how do I get it to show in the template, I tried :EXTRAFEED: as a shortcut, but haven't got it to show yet.

Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 11:10 PM.

Currently Active Users: 5770 (0 members and 5770 guests)
Threads: 4,081, Posts: 32,032, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636