melon
public text v1 · immutable// THE PLUGIN PAGE
$castcount++;
if($castcount == 1)
{
$text .= $tp -> parseTemplate($TITLE_CAST_1, TRUE, $v2dvd_shortcodes);
}
else
{
$text .= $tp -> parseTemplate($TITLE_CAST_2, TRUE, $v2dvd_shortcodes);
}
// THE SHORTCODE PAGE
SC_BEGIN CAST
global $row;
return "<a href='".e_SELF."?name.".$row['names_id']."'>".$row['names_ka']."</a>";
SC_END
// THE TEMPLATE PAGE
$TITLE_CAST_1 = "{CAST}";
$TITLE_CAST_2 = ", {CAST}";