<?php
$currentFile = $_SERVER["SCRIPT_NAME"];
$topiclink = str_replace("/legalnurseconsultingnews/articles/","",$currentFile);
$topiclink = str_replace(".php","",$topiclink);
$explode=explode("/",$topiclink);
$year=$explode[0];
$topiclink=$explode[1];
require ("../../../../newsadmin/db_host.php");
require ("../../../../newsadmin/db_login.php");
require ("../../../../newsadmin/db_name.php");





$link2 = mysql_connect("$ceuhost","$ceuname","$ceulogin");



if ( ! $link2)



	die("--------Couldn't connect");



mysql_select_db('rnmarke1_lncstatblog') or die("------Could not select database");







$search="select * from entries where link = '$topiclink'";



	$result=mysql_query($search);



		$num=mysql_affected_rows();



	$info=mysql_fetch_array($result);



		



		$text = $info['text'];

		

		$text = nl2br($text);



		$timestamp = $info['timestamp'];



		$date = date('l, F d, Y', $timestamp);



		$title = $info['title'];

		

		$imglg = $info['imglg'];

		

		$altlg = $info['altlg'];

		
		$imgsocial = $info['imgsocial'];










require 'template.php';



?>