Jane has always taken every angle of the case into consideration, and never once did she make her move without integrity and honesty.
In 2009, after hiring another attorney, and getting nowhere in the court system for visitation with my daughter, I began researching online..and there I found Jane Hawn-Jackson…the best decision I made was to call her office. From day one, I have been treated with respect and a helpful hand, whether it's Jaime answering the phone, or Jane giving me her sound advice. Jane has always taken every angle of the case into consideration, and never once did she make her move without integrity and honesty. Finally, I found my attorney with morals! Jane is fearless in the court room. Her diligent preparation, and attention to detail won my case. Not only did I win my visitation, but eventually, in 2011, I won CUSTODY! Jane has done so many wonderful things for my family. There isn't a day that goes by where I don't think of Jane and the tremendous happiness she has brought to us.
Always had my children's best interest in mind.
I chose Jane Hawn-Jackson to represent me during my difficult divorce and child support case. She is professional, honest and always had my children's best interest in mind. Thanks to her, I was able to protect my children and had child support awarded to me. I highly recommend Jane to anybody that is going through a divorce or custody issues.
Thank you Jane, for your caring attention to my children!
I never thought in a million years I would be going through a divorce and custody battle, so when the time came to look for and choose a lawyer to represent me I didn't know where to start. My children are my world, and Jane understood that with compassion and understanding through every step of this difficult process. Even for the little questions, Jane or Jamie were on the other end of the phone with patience and walked me through these challenging times and in the end won my Custody case. Thank you Jane for helping me save my relationship with my children. I will be forever grateful for your kindness.
If not for Ms. Hawn-Jackson and her staff, I doubt the children would have the chance to become the thriving young people they are today.
As an out-of-state client, I was impressed with the efficiency, knowledge and professionalism of Jane Hawn-Jackson and her staff. I was kept informed of where were were in the process, what needed to be done, what were the options for the children and what the legal possibilities were and options available. Ms. Hawn-Jackson and her staff were always prepared, available to answer questioins and kept the process moving quickly. I could not have asked for better legal representation in my case.
Yet, what impressed me the most was the warm, caring dedication to the welfare of the children involved. I was kept informed of the children and their situation, how they were coping and what were their needs. If not for Ms. Hawn-Jackson and her staff, I doubt the children would have had the chance to become the thriving young people they are today. As I watch the children learn new skills, strive to excel at school and become happy, healthy, loving individuals, I know I have Ms. Hawn-Jackson to thank for the wonderful blessings we share as a family.


text:
Q: System program problem detected showing at boot I have been facing this dialog for a long time lately. Though I've gone through multiple reinstalls of the system,the system program problem detected still keeps appearing after every boot. Plus after closing it, it opens one or two times again. It appears in both Ubuntu and lubuntu from 14.04. It occured on one more computer too but that might have been caused by the same ISO file (though it doesn't explain why it occurs in both lubuntu and Ubuntu cause thats different ISO file).
I tried to report the problem many times expecting that it would be fixed.
I searched for an answer Here on Ask Ubuntu but the only answer was to disable the crash reporter which is like taking painkillers and not even a word about how to FIX the problem. Same as our body hurts when it needs help, the system shows crash reporter in oder to be healed...
So now my question is:
What might be the cause of the problem and how to FIX it?
I'm using Ubuntu 14.04 unity, 32 bit,the only system installed on the computer.

A: You are seeing the graphical frontend of apport. This could refer to a couple of problems, like program crashes, kernel oops, etc.
For more information you could read https://wiki.ubuntu.com/Apport
The dialog always lets you view the source of the problem usually describing the problem, as well as seeing the affected program.
So really this is all of the help I can offer, because without providing any additional information it is not possible to help you.
Apport writes all its reports to /var/crash. You could zip that folder and upload it somewhere and I will have a look at it if you want, but keep in mind, the information contained in there could possibly risk your privacy, but most likely it wont.
If you want to disable apport (I do not recommend that) you can change enabled=1 to enabled=0 in /etc/default/apport.

redpajama_set_name: RedPajamaStackExchange


text:
Home/Signature Models/Jesper Strömblad
Jesper StrömbladThomas Krogh2021-07-31T12:50:49+00:00
JESPER STRÖMBLAD
Jesper Strömblad is a Swedish musician who is the guitarist of the bands Dimension Zero and Cyhra, and formerly of In Flames and The Resistance. He is best known as founder and former guitarist/drummer/keyboardist of the Swedish pioneering melodic death metal band In Flames, guitarist of the band Sinergy, bassist of Ceremonial Oath and drummer of HammerFall. In 2013 he joined MDM band Nightrage as a session guitarist. In March 2004, Strömblad was ranked No. 70 out of 100 Greatest Heavy Metal Guitarists of all time by Guitar World.

redpajama_set_name: RedPajamaCommonCrawl


The linearized amplifier technologies and services private limited (linear-amptech) is a start-up company formed by faculty and students of IIT Roorkee. The company is dedicated towards indigenous development of radio frequency front end and wireless solutions. The company was established in December, 2017, Uttarakhand, India after approval for pre-incubation from TIDES centre IIT Roorkeeunder start-up India initiative.
The company motivation is to develop indigenous product based on research and development (R&D) activities in Department of Electronics & Communication Engineering, IIT Roorkee. The primary goal is to develop tangible product from in-house R&D and bring it to national as well as international market.


text:
<?php
class RefferStats{

	//This function is used to display refrral data on dashboard
	function display_refrral_data($duration) {

		echo "

			Top Referrals

";

		//get total visitors
		$Results = $this->get_total_referrer_visitors($duration,$fromDate="",$toDate="");
		$total_visitors = $Results[0]->total_visitors;

		$Results = $this->get_referrer_visitors_data();
		$i = 1;
		foreach($Results as $result)
		{
			$referrer = $result->referrer;

			$percent_viewed = ($result->visitors)*100/$total_visitors;

			echo "
".$i.".	";if(strlen($referrer)>25) echo substr_replace($referrer,'...',25); else
				echo $referrer;
			echo "
";
			$i++;

		}

		echo "

";

	}

	function view_traffic_referral_stats($duration,$fromDate,$toDate)
	{
		global $wpdb;
		$path = WP_PLUGIN_URL."/".TRACK_PLUGIN_NAME."/";

		echo "";
		echo "<link type='text/css' rel='stylesheet' href='".$path."calendar/dhtmlgoodies_calendar/dhtmlgoodies_calendar.css?random=20051112' media='screen'></LINK>";

		//setting path of more details
		if($duration != "") {
			$detailsPath = "admin.php?page=".TRACK_PLUGIN_NAME."&details=referral&duration=".$duration;
		}
		elseif($fromDate || $toDate) {
			$detailsPath = "admin.php?page=".TRACK_PLUGIN_NAME."&details=referral&fromDate=".$fromDate."&toDate=".$toDate;
		}
		else
		{
			$detailsPath = "admin.php?page=".TRACK_PLUGIN_NAME."&details=referral";
		}
	?>

    Referrer
    Views/Visitors
    Unique Visitors
    % Viewed

	<?php

		//get total visitors
		//echo "sandeep".$fromDate;
		$Results = $this->get_total_referrer_visitors($duration,$fromDate,$toDate);
		$total_visitors = $Results[0]->total_visitors;

		//get referrer visitor records
		$Results = $this->get_referrer_visitors_records($duration,$fromDate,$toDate);
		$css_class="";
		$count=0;
		//$Results=array();

		$query_ip = "select list_ip_address from ".$wpdb->prefix."tts_settings";
		$Results_ip = $wpdb->get_results($query_ip, OBJECT);

		$list_ip_addresses = $Results_ip[0]->list_ip_address;

		$list_ip_addresses = explode(",",$list_ip_addresses);
		$list_ips=array();
		foreach($list_ip_addresses as $ip)
		{
			$list_ips[] = "'".$ip."'";
		}
		$list_ips = implode(",",$list_ips);

		foreach($Results as $result)
		{
			$count++;
			$referrer = $result->referrer;
			$percent_viewed = ($result->visitors)*100/$total_visitors;

			//two tokens
			$res = array();
			$unique_visitors = 0;

if($duration == "today")
		{
			$query1 = "select referrer,stat_visitor_id,visitor_id from ".$wpdb->prefix."tts_referrer_stats where   referrer='$result->referrer' AND DATE_FORMAT(create_time,'%Y-%m-%d')='".strftime('%Y-%m-%d',current_time( 'timestamp'))."' AND stat_visitor_id not in(".$list_ips.") ";
		}
		elseif($duration == "yesterday")
		{
			$query1= "select referrer,stat_visitor_id,visitor_id from ".$wpdb->prefix."tts_referrer_stats where   referrer='$result->referrer' AND  DATE_FORMAT(create_time,'%Y-%m-%d')=DATE_SUB('".strftime('%Y-%m-%d',current_time( 'timestamp'))."',INTERVAL 1 Day) AND stat_visitor_id not in(".$list_ips.") ";
		}
		elseif($duration == "7days")
		{
			$query1= "select referrer,stat_visitor_id,visitor_id from ".$wpdb->prefix."tts_referrer_stats where   referrer='$result->referrer' AND  DATE_FORMAT(create_time,'%Y-%m-%d') between DATE_SUB('".strftime('%Y-%m-%d',current_time( 'timestamp'))."',INTERVAL 6 DAY) and '".strftime('%Y-%m-%d',current_time( 'timestamp'))."' AND stat_visitor_id not in(".$list_ips.") ";
		}
		elseif($duration == "14days")
		{
			$query1= "select referrer,stat_visitor_id,visitor_id from ".$wpdb->prefix."tts_referrer_stats where    referrer='$result->referrer' AND DATE_FORMAT(create_time,'%Y-%m-%d') between DATE_SUB('".strftime('%Y-%m-%d',current_time( 'timestamp'))."',INTERVAL 13 DAY) and '".strftime('%Y-%m-%d',current_time( 'timestamp'))."' AND stat_visitor_id not in(".$list_ips.") ";
		}
		elseif($duration == "30days")
		{
			$query1= "select referrer,stat_visitor_id,visitor_id from ".$wpdb->prefix."tts_referrer_stats where  referrer='$result->referrer' AND   DATE_FORMAT(create_time,'%Y-%m-%d') between DATE_SUB('".strftime('%Y-%m-%d',current_time( 'timestamp'))."',INTERVAL 29 DAY) and '".strftime('%Y-%m-%d',current_time( 'timestamp'))."' AND stat_visitor_id not in(".$list_ips.") ";
		}
		elseif($duration == "60days")
		{
			$query1= "select referrer,stat_visitor_id,visitor_id from ".$wpdb->prefix."tts_referrer_stats where   referrer='$result->referrer' AND  DATE_FORMAT(create_time,'%Y-%m-%d') between DATE_SUB('".strftime('%Y-%m-%d',current_time( 'timestamp'))."',INTERVAL 59 DAY) and '".strftime('%Y-%m-%d',current_time( 'timestamp'))."' AND stat_visitor_id not in(".$list_ips.") ";
		}
		elseif($fromDate)
		{
			$fromDate = date("Y-m-d",strtotime($fromDate));
			$toDate = date("Y-m-d",strtotime($toDate));
			$query1= "select referrer,stat_visitor_id,visitor_id from ".$wpdb->prefix."tts_referrer_stats where  referrer='$result->referrer' AND DATE_FORMAT(create_time,'%Y-%m-%d') between '$fromDate' and '$toDate' AND stat_visitor_id not in(".$list_ips.") ";
		}
		else
		{
			$query1 = "select referrer,stat_visitor_id,visitor_id from ".$wpdb->prefix."tts_referrer_stats where referrer='$result->referrer' AND stat_visitor_id not in(".$list_ips.") ";
		}
			$Results1 = $wpdb->get_results($query1, OBJECT);

			foreach($Results1 as $result1)
			{
				$res[$result1->stat_visitor_id] = $result1->visitor_id;
			}

			$res = array_flip($res);

			$unique_visitors = count($res);

			//two tokens end
			if($count!=count($Results)) {

			?>

				<td class="t-mid-left<?php echo($css_class);?>">
				<td valign="middle" class="t-mid-left-next<?php echo($css_class);?>" title="<?php echo($referrer);?>"><?php echo($count);?>.
					<a class="link" href='http://<?php echo($referrer);?>' target='_blank'><?php if(strlen($referrer)>20) echo substr_replace($referrer,'...',20); else
					echo $referrer; ?>

				<td class="t-mid-left-next<?php echo($css_class);?>"><?php echo($result->visitors); ?>
				<td class="t-mid-left-next<?php echo($css_class);?>"><?php echo($unique_visitors); ?>
				<td class="t-mid-left-next<?php echo($css_class);?>"><?php echo(round($percent_viewed,2));?>%
				<td class="t-mid-right<?php echo($css_class);?>">

			<?php
			}
			else {
			if(count($Results)==6){

				if($css_class=="") {
					$css_class="1";
				}
				else {
					$css_class="";
				}
			?>

				<td class="t-bot-left<?php echo($css_class);?>">
				<td valign="middle" class="t-bot-left-next<?php echo($css_class);?>" title="<?php echo($referrer);?>"><?php echo($count);?>.
					<a class="link" href='http://<?php echo($referrer);?>' target='_blank'><?php if(strlen($referrer)>20) echo substr_replace($referrer,'...',20); else
					echo $referrer; ?>

				<td class="t-bot-left-next<?php echo($css_class);?>"><?php echo($result->visitors);?>
				<td class="t-bot-left-next<?php echo($css_class);?>"><?php echo($unique_visitors);?>
				<td class="t-bot-left-next<?php echo($css_class);?>"><?php echo(round($percent_viewed,2));?>%
				<td class="t-bot-right<?php echo($css_class);?>">

			<?php
			}
			else {
			?>

				<td class="t-mid-left<?php echo($css_class);?>">
				<td valign="middle" class="t-mid-left-next<?php echo($css_class);?>" title="<?php echo($referrer);?>"><?php echo($count);?>.
					<a class="link" href='http://<?php echo($referrer);?>' target='_blank'><?php if(strlen($referrer)>20) echo substr_replace($referrer,'...',20); else
					echo $referrer; ?>

				<td class="t-mid-left-next<?php echo($css_class);?>"><?php echo($result->visitors); ?>
				<td class="t-mid-left-next<?php echo($css_class);?>"><?php echo($unique_visitors); ?>
				<td class="t-mid-left-next<?php echo($css_class);?>"><?php echo(round($percent_viewed,2));?>%
				<td class="t-mid-right<?php echo($css_class);?>">

			<?php
			}
			}
			?>

	<?php
			if($css_class=="") {
				$css_class="1";
			}
			else {
				$css_class="";
			}
		}
		if(count($Results)<6) {

			if(count($Results)==0) {
				$css_class="";
			}
			for ($i=1; $i <=6-count($Results) ; $i++) {
				if($i==6-count($Results)) {
				$css_class="";
?>

				<td class="t-bot-left<?php echo($css_class);?>">
				<td align="left" valign="middle" class="t-bot-left-next<?php echo($css_class);?>">
				<td class="t-bot-left-next<?php echo($css_class);?>">
				<td class="t-bot-left-next<?php echo($css_class);?>">
				<td class="t-bot-left-next<?php echo($css_class);?>">
				<td class="t-bot-right<?php echo($css_class);?>">

<?php
				}
				else {

?>

				<td class="t-mid-left<?php echo($css_class);?>">
				<td align="left" valign="middle" class="t-mid-left-next<?php echo($css_class);?>">
				<td class="t-mid-left-next<?php echo($css_class);?>">
				<td class="t-mid-left-next<?php echo($css_class);?>">
				<td class="t-mid-left-next<?php echo($css_class);?>">
				<td class="t-mid-right<?php echo($css_class);?>">

<?php
				}
		?>

		<?php
				if($css_class=="") {
					$css_class="1";
				}
				else {
					$css_class="";
				}
			}
		}

		?>

		<a href="<?php echo($detailsPath);?>" class="more-d" title='More Details' target='_blank'>More Details

	<?php

	}

	function display_referral_graph($duration,$fromDate,$toDate)
	{
		global $wpdb;

		$query_ip = "select list_ip_address from ".$wpdb->prefix."tts_settings";
		$Results_ip = $wpdb->get_results($query_ip, OBJECT);

		$list_ip_addresses = $Results_ip[0]->list_ip_address;

		$list_ip_addresses = explode(",",$list_ip_addresses);
		$list_ips=array();
		foreach($list_ip_addresses as $ip)
		{
			$list_ips[] = "'".$ip."'";
		}
		$list_ips = implode(",",$list_ips);

		$min_date="";
		$max_date="";
		$graph_interval="";

		if(isset($fromDate)) {
			$min_date=date("F d,Y",strtotime($fromDate));
		}

		if($duration == "today") {
			$query = "select referrer,create_time,count(distinct(stat_visitor_id)) as unique_visitors,count(stat_visitor_id) as visitors from ".$wpdb->prefix."tts_referrer_stats where DATE_FORMAT(create_time,'%Y-%m-%d')='".strftime('%Y-%m-%d',current_time( 'timestamp'))."'  AND stat_visitor_id not in(".$list_ips.") group by DATE_FORMAT(create_time,'%Y-%m-%d')";

			$min_date=date("F d,Y",current_time( 'timestamp'));
			$graph_interval="1 day";
		}
		elseif($duration == "yesterday") {
			$query = "select referrer,create_time,count(distinct(stat_visitor_id)) as unique_visitors,count(stat_visitor_id) as visitors from ".$wpdb->prefix."tts_referrer_stats where DATE_FORMAT(create_time,'%Y-%m-%d')= DATE_SUB('".strftime('%Y-%m-%d',current_time( 'timestamp'))."',INTERVAL 1 Day)  AND stat_visitor_id not in(".$list_ips.") group by DATE_FORMAT(create_time,'%Y-%m-%d')";

			$min_date = date("F d,Y",mktime(0, 0, 0, date('m',current_time( 'timestamp')), date('d',current_time( 'timestamp'))-1, date('Y',current_time( 'timestamp'))));
			$graph_interval="1 day";

		}
		elseif($duration == "7days") {
			$query = "select referrer,create_time,count(distinct(stat_visitor_id)) as unique_visitors,count(stat_visitor_id) as visitors from ".$wpdb->prefix."tts_referrer_stats where DATE_FORMAT(create_time,'%Y-%m-%d') between DATE_SUB('".strftime('%Y-%m-%d',current_time( 'timestamp'))."',INTERVAL 7 DAY) and '".strftime('%Y-%m-%d',current_time( 'timestamp'))."'  AND stat_visitor_id not in(".$list_ips.") group by DATE_FORMAT(create_time,'%Y-%m-%d')";

			$min_date = date("F d,Y",mktime(0, 0, 0, date('m',current_time( 'timestamp')), date('d',current_time( 'timestamp'))-6, date('Y',current_time( 'timestamp'))));
			$graph_interval="1 day";

		}
		elseif($duration == "14days") {
			$query = "select referrer,create_time,count(distinct(stat_visitor_id)) as unique_visitors,count(stat_visitor_id) as visitors from ".$wpdb->prefix."tts_referrer_stats where DATE_FORMAT(create_time,'%Y-%m-%d') between DATE_SUB('".strftime('%Y-%m-%d',current_time( 'timestamp'))."',INTERVAL 14 DAY) and '".strftime('%Y-%m-%d',current_time( 'timestamp'))."'  AND stat_visitor_id not in(".$list_ips.") group by DATE_FORMAT(create_time,'%Y-%m-%d')";

			$min_date = date("F d,Y",mktime(0, 0, 0, date('m',current_time( 'timestamp')), date('d',current_time( 'timestamp'))-13, date('Y',current_time( 'timestamp'))));
			$graph_interval="1 day";
		}
		elseif($duration == "30days") {
			$query = "select referrer,create_time,count(distinct(stat_visitor_id)) as unique_visitors,count(stat_visitor_id) as visitors from ".$wpdb->prefix."tts_referrer_stats where DATE_FORMAT(create_time,'%Y-%m-%d') between DATE_SUB('".strftime('%Y-%m-%d',current_time( 'timestamp'))."',INTERVAL 30 DAY) and '".strftime('%Y-%m-%d',current_time( 'timestamp'))."'  AND stat_visitor_id not in(".$list_ips.") group by DATE_FORMAT(create_time,'%Y-%m-%d')";

			$min_date = date("F d,Y",mktime(0, 0, 0, date('m',current_time( 'timestamp')), date('d',current_time( 'timestamp'))-29, date('Y',current_time( 'timestamp'))));
			$graph_interval="1 week";
		}
		elseif($duration == "60days") {
			$query = "select referrer,create_time,count(distinct(stat_visitor_id)) as unique_visitors,count(stat_visitor_id) as visitors from ".$wpdb->prefix."tts_referrer_stats where DATE_FORMAT(create_time,'%Y-%m-%d') between DATE_SUB('".strftime('%Y-%m-%d',current_time( 'timestamp'))."',INTERVAL 60 DAY) and '".strftime('%Y-%m-%d',current_time( 'timestamp'))."'  AND stat_visitor_id not in(".$list_ips.") group by DATE_FORMAT(create_time,'%Y-%m-%d')";

			$min_date = date("F d,Y",mktime(0, 0, 0, date('m',current_time( 'timestamp')), date('d',current_time( 'timestamp'))-59, date('Y',current_time( 'timestamp'))));
			$graph_interval="1 week";
		}
		elseif($fromDate) {
			$fromDate = date("Y-m-d",strtotime($fromDate));
			$toDate = date("Y-m-d",strtotime($toDate));

			$query = "select referrer,create_time,count(distinct(stat_visitor_id)) as unique_visitors,count(stat_visitor_id) as visitors from ".$wpdb->prefix."tts_referrer_stats where DATE_FORMAT(create_time,'%Y-%m-%d') between '$fromDate' and '$toDate'  AND stat_visitor_id not in(".$list_ips.") group by DATE_FORMAT(create_time,'%Y-%m-%d')";
		}
		else
		{
			$query = "select referrer,create_time,count(distinct(stat_visitor_id)) as unique_visitors,count(stat_visitor_id) as visitors from ".$wpdb->prefix."tts_referrer_stats  where stat_visitor_id not in(".$list_ips.") group by DATE_FORMAT(create_time,'%Y-%m-%d')";
		}
		//echo($query.'
');

		$Results = $wpdb->get_results($query, OBJECT);
		$data = "";
		$unique_data="";
		$i = 1;
		foreach($Results as $result)
		{
			//two tokens
			$res = array();
			$unique_visitors = 0;
			$query1 = "select referrer,stat_visitor_id,visitor_id
					 from ".$wpdb->prefix."tts_referrer_stats where DATE_FORMAT(create_time,'%Y-%m-%d')='".date('Y-m-d',strtotime($result->create_time))."' and stat_visitor_id not in(".$list_ips.")";

	//	echo($query1.'
');

			$Results1 = $wpdb->get_results($query1, OBJECT);

			foreach($Results1 as $result1)
			{
				$res[$result1->stat_visitor_id] = $result1->visitor_id;
			}

			$res = array_flip($res);

			$unique_visitors = count($res);

			//two tokens end

			if($i++ == 1)
			{
				$data .= "[".date("'Y-m-d g:iA'",strtotime($result->create_time)).",".$result->visitors."],";
				//$data .= "[".date("'Y-m-d g:iA'",strtotime($result->create_time)).",".$result->visitors."],";
				//$unique_data .= "[".date("'Y-m-d g:iA'",strtotime($result->create_time)).",".$unique_visitors."],";
				$unique_data .= "[".date("'Y-m-d g:iA'",strtotime($result->create_time)).",".$unique_visitors."],";
				if($duration=="" || $min_date=="") {

					if(isset($fromDate)) {
						$min_date=date("F d,Y",strtotime($fromDate));
						if($graph_interval=='') {
							$graph_interval="5 days";
						}

					}
					else {
						$min_date=date("F d,Y",strtotime($result->create_time));
						$graph_interval="2 weeks";
						if($graph_interval=='') {
							$graph_interval="2 weeks";
						}

					}

					if(isset($toDate)) {
						$max_date=date("F d,Y",strtotime($toDate));

						if($graph_interval=='') {
							$graph_interval="5 days";
						}
					}

				}
			}
			else
			{
				$data .= "[".date("'Y-m-d g:iA'",strtotime($result->create_time)).",".$result->visitors."],";
				$unique_data .= "[".date("'Y-m-d g:iA'",strtotime($result->create_time)).",".$unique_visitors."],";
			}
		}

			$data=rtrim($data,",");
			if($data!='') {
			?>

			<?php
	}
	}//end of graph function

	//This function is used to display traffic increase/decrease % displayed in red/green for all the referral data collected
	function view_traffic_referral_data($data_interval = "week")
	{
		global $wpdb;
		$flag = 0;  //flag = 0 for decrease

		echo "

Traffic Data
";

		echo "

";

		if($data_interval == "day")
		{
			echo "Day	";

			$query = "select referrer,count(stat_visitor_id) as visitors from ".$wpdb->prefix."tts_referrer_stats where DATE_FORMAT(create_time,'%Y-%m-%d') = '".strftime('%Y-%m-%d',current_time( 'timestamp'))."' group by referrer";

			$current_results = $wpdb->get_results($query, OBJECT);

			$query = "select referrer,count(stat_visitor_id) as visitors from ".$wpdb->prefix."tts_referrer_stats where DATE_FORMAT(create_time,'%Y-%m-%d') = DATE_SUB('".strftime('%Y-%m-%d',current_time( 'timestamp'))."',INTERVAL 1 Day) group by referrer";

			$previous_results = $wpdb->get_results($query, OBJECT);

			$current_time = date("Y M d")." - ".date("Y M d");
			$previous_time = date("Y M d",mktime(0, 0, 0, date("m"), date("d")-1, date("y")))." - ".date("Y M d",mktime(0, 0, 0, date("m"), date("d")-1, date("y")));
		}
		else
		{
			echo "Day	";
		}

		if($data_interval == "week")
		{
			echo "Week	";

			$query = "select referrer,count(stat_visitor_id) as visitors from ".$wpdb->prefix."tts_referrer_stats where DATE_FORMAT(create_time,'%Y-%m-%d') BETWEEN DATE_SUB('".strftime('%Y-%m-%d',current_time( 'timestamp'))."',INTERVAL 6 Day) AND '".strftime('%Y-%m-%d',current_time( 'timestamp'))."' group by referrer";

			$current_results = $wpdb->get_results($query, OBJECT);

			$query = "select referrer,count(stat_visitor_id) as visitors from ".$wpdb->prefix."tts_referrer_stats where DATE_FORMAT(create_time,'%Y-%m-%d') BETWEEN DATE_SUB('".strftime('%Y-%m-%d',current_time( 'timestamp'))."',INTERVAL 13 Day) AND DATE_SUB('".strftime('%Y-%m-%d',current_time( 'timestamp'))."',INTERVAL 7 Day) group by referrer";

			$previous_results = $wpdb->get_results($query, OBJECT);

			$current_time = date("Y M d",mktime(0, 0, 0, date("m"), date("d")-6, date("y")))." - ".date("Y M d");
			$previous_time = date("Y M d",mktime(0, 0, 0, date("m"), date("d")-13, date("y")))." - ".date("Y M d",mktime(0, 0, 0, date("m"), date("d")-7, date("y")));
		}
		else
		{
			echo "Week	";
		}

		if($data_interval == "month")
		{
			echo "Month	";

			$query = "select referrer,count(stat_visitor_id) as visitors from ".$wpdb->prefix."tts_referrer_stats where DATE_FORMAT(create_time,'%Y-%m-%d') BETWEEN DATE_SUB('".strftime('%Y-%m-%d',current_time( 'timestamp'))."',INTERVAL 1 Month) AND '".strftime('%Y-%m-%d',current_time( 'timestamp'))."'  and DATE_FORMAT(create_time,'%Y-%m-%d') != DATE_SUB('".strftime('%Y-%m-%d',current_time( 'timestamp'))."',INTERVAL 1 Month) group by referrer";

			$current_results = $wpdb->get_results($query, OBJECT);

			$query = "select referrer,count(stat_visitor_id) as visitors from ".$wpdb->prefix."tts_referrer_stats where DATE_FORMAT(create_time,'%Y-%m-%d') BETWEEN DATE_SUB('".strftime('%Y-%m-%d',current_time( 'timestamp'))."',INTERVAL 2 Month) AND DATE_SUB('".strftime('%Y-%m-%d',current_time( 'timestamp'))."',INTERVAL 1 Month) and DATE_FORMAT(create_time,'%Y-%m-%d') != DATE_SUB('".strftime('%Y-%m-%d',current_time( 'timestamp'))."',INTERVAL 2 Month) group by referrer";

			$previous_results = $wpdb->get_results($query, OBJECT);

			$current_time = date("Y M d",mktime(0, 0, 0, date("m")-1, date("d")+1, date("y")))." - ".date("Y M d");
			$previous_time = date("Y M d",mktime(0, 0, 0, date("m")-2, date("d")+1, date("y")))." - ".date("Y M d",mktime(0, 0, 0, date("m")-1, date("d"), date("y")));
		}
		else
		{
			echo "Month	";
		}

		echo "

";

		//$current_data = mktime(0, 0, 0, date("m")-$month, date("d")-$interval, date("y"));

		echo "
".$current_time."
";
		echo "
Comparing to ".$previous_time."
";

		foreach($previous_results as $result)
		{
			$prev_results[$result->referrer] = $result->visitors;
		}

		echo "

Referrer	Visits	Percent Change

";

		if($current_results)
		{
			foreach($current_results as $result)
			{
				$referrer = $result->referrer;
				echo "
";if(strlen($referrer)>60) echo substr_replace($referrer,'...',60); else
				echo $referrer;
				echo "	".$result->visitors."	";
				if(!$result->visitors)
				{
					$result->visitors = "0";
				}
				//calculate percent change
				if($result->visitors > $prev_results[$result->referrer])
				{
					if($prev_results[$result->referrer])
					{
						$percent_change = (($result->visitors-$prev_results[$result->referrer])*100)/$prev_results[$result->referrer];
					}
					else
					{
						$percent_change = (($result->visitors-$prev_results[$result->referrer])*100);
					}

					echo " ".round($percent_change,2)."%"."	";
				}
				else
				{
					if($prev_results[$result->referrer])
					{
						$percent_change = (($result->visitors-$prev_results[$result->referrer])*100)/$prev_results[$result->referrer];
						echo "".round($percent_change,2)."%"."	";
					}

				}
				echo "
";
			}
		}
		else {
					$result->visitors = 0;
					if(count($prev_results)>0){
						foreach($prev_results as $referrer=>$visitors){

							echo "
";if(strlen($referrer)>60) echo substr_replace($referrer,'...',60); else
							echo $referrer;
							echo "	".$result->visitors."	";

							$percent_change = (($result->visitors-$visitors)*100)/$visitors;
							echo "".round($percent_change,2)."%"."	";
							echo "
";
						}
					}

		}

		echo "

";

		echo "
";
	}

	function view_referral_stats_details($duration,$fromDate,$toDate)
	{
		global $wpdb;
		$path = WP_PLUGIN_URL."/".TRACK_PLUGIN_NAME."/";
		echo "";
		echo "<link type='text/css' rel='stylesheet' href='".$path."calendar/dhtmlgoodies_calendar/dhtmlgoodies_calendar.css?random=20051112' media='screen'></LINK>";
		$pagingPath = WP_PLUGIN_DIR."/".TRACK_PLUGIN_NAME."/pager.php";
		include($pagingPath);

		$query_ip = "select list_ip_address from ".$wpdb->prefix."tts_settings";
		$Results_ip = $wpdb->get_results($query_ip, OBJECT);

		$list_ip_addresses = $Results_ip[0]->list_ip_address;

		$list_ip_addresses = explode(",",$list_ip_addresses);
		$list_ips=array();
		foreach($list_ip_addresses as $ip)
		{
			$list_ips[] = "'".$ip."'";
		}
		$list_ips = implode(",",$list_ips);

		if($duration != "")
		{
		}
		elseif($fromDate || $toDate) {
			if($fromDate && $toDate) {
			}
			elseif($fromDate) {
			}
			else {
			}
			$detailsPath = "admin.php?page=".TRACK_PLUGIN_NAME."&details=referral&fromDate=".$fromDate."&toDate=".$toDate;
		}

?>

<?php
		$to_date = date("Y M d",current_time( 'timestamp'));

		if($fromDate)
		{
			$frDate = date("Y-m-d",strtotime($fromDate));
			$tDate = date("Y-m-d",strtotime($toDate));
			$query1 = "select referrer from ".$wpdb->prefix."tts_referrer_stats where DATE_FORMAT(create_time,'%Y-%m-%d') between '$frDate' and '$tDate'  AND stat_visitor_id not in(".$list_ips.") group by referrer";
			$query2 = "select referrer,count(distinct(stat_visitor_id)) as unique_visitors,count(stat_visitor_id) as visitors from ".$wpdb->prefix."tts_referrer_stats where DATE_FORMAT(create_time,'%Y-%m-%d') between '$frDate' and '$tDate'  AND stat_visitor_id not in(".$list_ips.") group by referrer order by visitors desc";
		}
		else
		{
			$query1 = "select referrer from ".$wpdb->prefix."tts_referrer_stats  where stat_visitor_id not in(".$list_ips.") group by referrer";
			$query2 = "select referrer,count(distinct(stat_visitor_id)) as unique_visitors,count(stat_visitor_id) as visitors from ".$wpdb->prefix."tts_referrer_stats  where stat_visitor_id not in(".$list_ips.") group by referrer order by visitors desc";
		}

		if($duration == "today")
		{
			$from_date = date("Y M d",current_time( 'timestamp'));
			$query1 = "select referrer from ".$wpdb->prefix."tts_referrer_stats where DATE_FORMAT(create_time,'%Y-%m-%d')='".strftime('%Y-%m-%d',current_time( 'timestamp'))."'  AND stat_visitor_id not in(".$list_ips.") group by referrer ";
			$query2 = "select referrer,count(distinct(stat_visitor_id)) as unique_visitors,count(stat_visitor_id) as visitors from ".$wpdb->prefix."tts_referrer_stats where DATE_FORMAT(create_time,'%Y-%m-%d')='".strftime('%Y-%m-%d',current_time( 'timestamp'))."'  AND stat_visitor_id not in(".$list_ips.") group by referrer order by visitors desc";
		}

		if($duration == "yesterday")
		{
			$from_date = date("Y M d",mktime(0, 0, 0, date('m',current_time( 'timestamp')), date('d',current_time( 'timestamp'))-1, date('Y',current_time( 'timestamp'))));
			$query1 = "select referrer from ".$wpdb->prefix."tts_referrer_stats  where DATE_FORMAT(create_time,'%Y-%m-%d')= DATE_SUB('".strftime('%Y-%m-%d',current_time( 'timestamp'))."',INTERVAL 1 Day) AND stat_visitor_id not in(".$list_ips.") group by referrer";
			$query2 = "select referrer,count(distinct(stat_visitor_id)) as unique_visitors,count(stat_visitor_id) as visitors from ".$wpdb->prefix."tts_referrer_stats where DATE_FORMAT(create_time,'%Y-%m-%d')= DATE_SUB('".strftime('%Y-%m-%d',current_time( 'timestamp'))."',INTERVAL 1 Day)  AND stat_visitor_id not in(".$list_ips.") group by referrer order by visitors desc";

		}

		if($duration == "7days")
		{
			$from_date = date("Y M d",mktime(0, 0, 0, date('m',current_time( 'timestamp')), date('d',current_time( 'timestamp'))-6, date('Y',current_time( 'timestamp'))));
			$query1 = "select referrer from ".$wpdb->prefix."tts_referrer_stats where DATE_FORMAT(create_time,'%Y-%m-%d') between DATE_SUB('".strftime('%Y-%m-%d',current_time( 'timestamp'))."',INTERVAL 6 DAY) and '".strftime('%Y-%m-%d',current_time( 'timestamp'))."'  AND stat_visitor_id not in(".$list_ips.") group by referrer";
			$query2 = "select referrer,count(distinct(stat_visitor_id)) as unique_visitors,count(stat_visitor_id) as visitors from ".$wpdb->prefix."tts_referrer_stats where DATE_FORMAT(create_time,'%Y-%m-%d') between DATE_SUB('".strftime('%Y-%m-%d',current_time( 'timestamp'))."',INTERVAL 6 DAY) and '".strftime('%Y-%m-%d',current_time( 'timestamp'))."'  AND stat_visitor_id not in(".$list_ips.") group by referrer order by visitors desc";
		}

		if($duration == "14days")
		{
			$from_date = date("Y M d",mktime(0, 0, 0, date('m',current_time( 'timestamp')), date('d',current_time( 'timestamp'))-13, date('Y',current_time( 'timestamp'))));
			$query1 = "select referrer from ".$wpdb->prefix."tts_referrer_stats where DATE_FORMAT(create_time,'%Y-%m-%d') between DATE_SUB('".strftime('%Y-%m-%d',current_time( 'timestamp'))."',INTERVAL 13 DAY) and '".strftime('%Y-%m-%d',current_time( 'timestamp'))."'  AND stat_visitor_id not in(".$list_ips.") group by referrer ";
			$query2 = "select referrer,count(distinct(stat_visitor_id)) as unique_visitors,count(stat_visitor_id) as visitors from ".$wpdb->prefix."tts_referrer_stats where DATE_FORMAT(create_time,'%Y-%m-%d') between DATE_SUB('".strftime('%Y-%m-%d',current_time( 'timestamp'))."',INTERVAL 13 DAY) and '".strftime('%Y-%m-%d',current_time( 'timestamp'))."'  AND stat_visitor_id not in(".$list_ips.") group by referrer order by visitors desc";
		}

		if($duration == "30days")
		{
			$from_date = date("Y M d",mktime(0, 0, 0, date('m',current_time( 'timestamp')), date('d',current_time( 'timestamp'))-29, date('Y',current_time( 'timestamp'))));
			$query1 = "select referrer from ".$wpdb->prefix."tts_referrer_stats  where DATE_FORMAT(create_time,'%Y-%m-%d') between DATE_SUB('".strftime('%Y-%m-%d',current_time( 'timestamp'))."',INTERVAL 29 DAY) and '".strftime('%Y-%m-%d',current_time( 'timestamp'))."'  AND stat_visitor_id not in(".$list_ips.") group by referrer";
			$query2 = "select referrer,count(distinct(stat_visitor_id)) as unique_visitors,count(stat_visitor_id) as visitors from ".$wpdb->prefix."tts_referrer_stats where DATE_FORMAT(create_time,'%Y-%m-%d') between DATE_SUB('".strftime('%Y-%m-%d',current_time( 'timestamp'))."',INTERVAL 29 DAY) and '".strftime('%Y-%m-%d',current_time( 'timestamp'))."'  AND stat_visitor_id not in(".$list_ips.") group by referrer order by visitors desc";
		}

		if($duration == "60days")
		{
			$from_date = date("Y M d",mktime(0, 0, 0, date('m',current_time( 'timestamp')), date('d',current_time( 'timestamp'))-59, date('Y',current_time( 'timestamp'))));
			$query1 = "select referrer from ".$wpdb->prefix."tts_referrer_stats where DATE_FORMAT(create_time,'%Y-%m-%d') between DATE_SUB('".strftime('%Y-%m-%d',current_time( 'timestamp'))."',INTERVAL 59 DAY) and '".strftime('%Y-%m-%d',current_time( 'timestamp'))."'  AND stat_visitor_id not in(".$list_ips.") group by referrer";
			$query2 = "select referrer,count(distinct(stat_visitor_id)) as unique_visitors,count(stat_visitor_id) as visitors from ".$wpdb->prefix."tts_referrer_stats where DATE_FORMAT(create_time,'%Y-%m-%d') between DATE_SUB('".strftime('%Y-%m-%d',current_time( 'timestamp'))."',INTERVAL 59 DAY) and '".strftime('%Y-%m-%d',current_time( 'timestamp'))."'  AND stat_visitor_id not in(".$list_ips.") group by referrer order by visitors desc";
		}
		//echo($query1.'
');
		//echo($query2.'
');

?>

View Graph

<a href="admin.php?page=<?php echo(TRACK_PLUGIN_NAME);?>&details=referral&duration=today">Today

<a href="admin.php?page=<?php echo(TRACK_PLUGIN_NAME);?>&details=referral&duration=yesterday">Yesterday

<a href="admin.php?page=<?php echo(TRACK_PLUGIN_NAME);?>&details=referral&duration=7days">Last 7 Days

<a href="admin.php?page=<?php echo(TRACK_PLUGIN_NAME);?>&details=referral&duration=14days">Last 14 Days

<a href="admin.php?page=<?php echo(TRACK_PLUGIN_NAME);?>&details=referral&duration=30days">Last 30 Days

<a href="admin.php?page=<?php echo(TRACK_PLUGIN_NAME);?>&details=referral&duration=60days">Last 60 Days

<?php $this->display_referral_graph($duration,$fromDate,$toDate); ?>

<form name='pageForm' method='get' action='admin.php'>Show <select name='paging_records'  class="Select_bg" onchange='document.pageForm.submit()'>
	<?php

		$position = strpos($_SERVER['REQUEST_URI'],"?");
		$str = substr($_SERVER['REQUEST_URI'],$position+1);
		$str_a = explode("&",$str);

		/* Show many results per page? */
		if($_REQUEST['paging_records'])
		{
			$limit = $_REQUEST['paging_records'];
		}
		else
		{

			if(isset($_COOKIE ['paging_records_referrer'])) {

				$limit = $_COOKIE['paging_records_referrer'];
			}
			else {
				$limit = 10;
			}

		}

		$paging_array = get_paging_array();

		foreach($paging_array as $pages)
		{
			if($limit==$pages)
			{
				echo "<option value='".$pages."' selected>".$pages."</option>";
			}
			else
			{
				echo "<option value='".$pages."'>".$pages."</option>";
			}
		}
	?>
        </select> Records Per Page
	<?php

		foreach($str_a as $key=>$value)
		{
			$hidden_values = explode('=',$value);
			if(($hidden_values[0] == "paging_records") || ($hidden_values[0] == "pg") || ($hidden_values[0] == "submit"))
			{
				continue;
			}
			else
			{
				echo "<input type='hidden' name='".$hidden_values[0]."' value='".urldecode($hidden_values[1])."'>";
			}
		}

		//get total visitors
		$Results = $this->get_total_referrer_visitors($duration,$fromDate,$toDate);
		$total_visitors = $Results[0]->total_visitors;

		//get referrer visitor records
		//$Results = get_referrer_visitors_records($duration);

		$p = new Pager;

		/* Find the start depending on $_GET['page'] (declared if it's null) */
		$start = $p->findStart($limit);

		/* Find the number of rows returned from a query; Note: Do NOT use a LIMIT clause in this query */
		$count = mysql_num_rows(mysql_query($query1));

		/* Find the number of pages based on $count and $limit */
		$pages = $p->findPages($count, $limit);

		/* Now we use the LIMIT clause to grab a range of rows */
		$query2 = $query2." LIMIT ".$start.", ".$limit;
		$result = $wpdb->get_results($query2, OBJECT);

		/* Now get the page list and echo it */
		$pagelist = $p->pageList($_GET['pg'], $pages);

	?>	</form>

 <img src="<?php echo($path); ?>images/ref.png" alt="" />

				<?php
				if($pages > 1){
					echo $pagelist;
				}
				?>

     Referrer
    Views/Visitors
    Unique Visitors
    % Viewed

  <?php

		$count=0;
		foreach($result as $res)
		{

			$count++;
			$referrer = $res->referrer;

			$percent_viewed = ($res->visitors)*100/$total_visitors;

			//two tokens
			$res1 = array();
			$unique_visitors = 0;

if($duration == "today")
		{
			$query1 = "select referrer,stat_visitor_id,visitor_id from ".$wpdb->prefix."tts_referrer_stats where   referrer='$res->referrer' AND DATE_FORMAT(create_time,'%Y-%m-%d')='".strftime('%Y-%m-%d',current_time( 'timestamp'))."' and stat_visitor_id not in(".$list_ips.")";
		}
		elseif($duration == "yesterday")
		{
			$query1= "select referrer,stat_visitor_id,visitor_id from ".$wpdb->prefix."tts_referrer_stats where   referrer='$res->referrer' AND  DATE_FORMAT(create_time,'%Y-%m-%d')=DATE_SUB('".strftime('%Y-%m-%d',current_time( 'timestamp'))."',INTERVAL 1 Day) and stat_visitor_id not in(".$list_ips.")";
		}
		elseif($duration == "7days")
		{
			$query1= "select referrer,stat_visitor_id,visitor_id from ".$wpdb->prefix."tts_referrer_stats where   referrer='$res->referrer' AND  DATE_FORMAT(create_time,'%Y-%m-%d') between DATE_SUB('".strftime('%Y-%m-%d',current_time( 'timestamp'))."',INTERVAL 6 DAY) and '".strftime('%Y-%m-%d',current_time( 'timestamp'))."' and stat_visitor_id not in(".$list_ips.")";
		}
		elseif($duration == "14days")
		{
			$query1= "select referrer,stat_visitor_id,visitor_id from ".$wpdb->prefix."tts_referrer_stats where    referrer='$res->referrer' AND DATE_FORMAT(create_time,'%Y-%m-%d') between DATE_SUB('".strftime('%Y-%m-%d',current_time( 'timestamp'))."',INTERVAL 13 DAY) and '".strftime('%Y-%m-%d',current_time( 'timestamp'))."' and stat_visitor_id not in(".$list_ips.")";
		}
		elseif($duration == "30days")
		{
			$query1= "select referrer,stat_visitor_id,visitor_id from ".$wpdb->prefix."tts_referrer_stats where  referrer='$res->referrer' AND   DATE_FORMAT(create_time,'%Y-%m-%d') between DATE_SUB('".strftime('%Y-%m-%d',current_time( 'timestamp'))."',INTERVAL 29 DAY) and '".strftime('%Y-%m-%d',current_time( 'timestamp'))."' and stat_visitor_id not in(".$list_ips.")";
		}
		elseif($duration == "60days")
		{
			$query1= "select referrer,stat_visitor_id,visitor_id from ".$wpdb->prefix."tts_referrer_stats where   referrer='$res->referrer' AND  DATE_FORMAT(create_time,'%Y-%m-%d') between DATE_SUB('".strftime('%Y-%m-%d',current_time( 'timestamp'))."',INTERVAL 59 DAY) and '".strftime('%Y-%m-%d',current_time( 'timestamp'))."' and stat_visitor_id not in(".$list_ips.")";
		}
		elseif($fromDate)
		{
			$fromDate = date("Y-m-d",strtotime($fromDate));
			$toDate = date("Y-m-d",strtotime($toDate));
			$query1= "select referrer,stat_visitor_id,visitor_id from ".$wpdb->prefix."tts_referrer_stats where  referrer='$res->referrer' AND DATE_FORMAT(create_time,'%Y-%m-%d') between '$fromDate' and '$toDate' and stat_visitor_id not in(".$list_ips.")";
		}
		else
		{
			$query1 = "select referrer,stat_visitor_id,visitor_id from ".$wpdb->prefix."tts_referrer_stats where referrer='$res->referrer' and stat_visitor_id not in(".$list_ips.")";
		}

		//echo($query1.'
');

			$Results1 = $wpdb->get_results($query1, OBJECT);

			foreach($Results1 as $result1)
			{
				$res1[$result1->stat_visitor_id] = $result1->visitor_id;
			}

			$res1 = array_flip($res1);

			$unique_visitors = count($res1);

			//two tokens end

			if($count!=count($result)) {
		?>

				<td class="t-mid-left<?php echo($css_class);?>">
				<td valign="middle" class="t-mid-left-next<?php echo($css_class);?>"><?php echo($count);?>.
					<a class="link" href='http://<?php echo($referrer);?>' target='_blank'><?php if(strlen($referrer)>25) echo substr_replace($referrer,'...',25); else
					echo $referrer; ?>

				<td class="t-mid-left-next<?php echo($css_class);?>"><?php echo($res->visitors); ?>
				<td class="t-mid-left-next<?php echo($css_class);?>"><?php echo($unique_visitors); ?>
				<td class="t-mid-left-next<?php echo($css_class);?>"><?php echo(round($percent_viewed,2));?>%
				<td class="t-mid-right<?php echo($css_class);?>">

		<?php
			}
			else {
			if($css_class=="") {
				$css_class="1";
			}
			else {
				$css_class="";
			}
		?>

				<td class="t-bot-left<?php echo($css_class);?>">
				<td valign="middle" class="t-bot-left-next<?php echo($css_class);?>"><?php echo($count);?>.
					<a class="link" href='http://<?php echo($referrer);?>' target='_blank'><?php if(strlen($referrer)>25) echo substr_replace($referrer,'...',25); else
					echo $referrer; ?>

				<td class="t-bot-left-next<?php echo($css_class);?>"><?php echo($res->visitors);?>
				<td class="t-bot-left-next<?php echo($css_class);?>"><?php echo($unique_visitors);?>
				<td class="t-bot-left-next<?php echo($css_class);?>"><?php echo(round($percent_viewed,2));?>%
				<td class="t-bot-right<?php echo($css_class);?>">

		<?php
			}
?>

<?php
			if($css_class=="") {
				$css_class="1";
			}
			else {
				$css_class="";
			}

		}

?>

				<?php
				if($pages > 1){
					echo $pagelist;
				}
				?>

<?php

	}

	//This function is used to get total referrer visitors
	function get_total_referrer_visitors($duration,$fromDate,$toDate)
	{
		global $wpdb;

		$query_ip = "select list_ip_address from ".$wpdb->prefix."tts_settings";
		$Results_ip = $wpdb->get_results($query_ip, OBJECT);

		$list_ip_addresses = $Results_ip[0]->list_ip_address;

		$list_ip_addresses = explode(",",$list_ip_addresses);
		$list_ips=array();
		foreach($list_ip_addresses as $ip)
		{
			$list_ips[] = "'".$ip."'";
		}
		$list_ips = implode(",",$list_ips);

		if($duration == "today")
		{
			$query = "select count(stat_visitor_id) as total_visitors from ".$wpdb->prefix."tts_referrer_stats where DATE_FORMAT(create_time,'%Y-%m-%d')='".strftime('%Y-%m-%d',current_time( 'timestamp'))."' AND stat_visitor_id not in(".$list_ips.") ";
		}
		elseif($duration == "yesterday")
		{
			$query= "select count(stat_visitor_id) as total_visitors from ".$wpdb->prefix."tts_referrer_stats where  DATE_FORMAT(create_time,'%Y-%m-%d')=DATE_SUB('".strftime('%Y-%m-%d',current_time( 'timestamp'))."',INTERVAL 1 Day) AND stat_visitor_id not in(".$list_ips.") ";
		}
		elseif($duration == "7days")
		{
			$query= "select count(stat_visitor_id) as total_visitors from ".$wpdb->prefix."tts_referrer_stats where  DATE_FORMAT(create_time,'%Y-%m-%d') between DATE_SUB('".strftime('%Y-%m-%d',current_time( 'timestamp'))."',INTERVAL 6 DAY) and '".strftime('%Y-%m-%d',current_time( 'timestamp'))."' AND stat_visitor_id not in(".$list_ips.") ";
		}
		elseif($duration == "14days")
		{
			$query= "select count(stat_visitor_id) as total_visitors from ".$wpdb->prefix."tts_referrer_stats where  DATE_FORMAT(create_time,'%Y-%m-%d') between DATE_SUB('".strftime('%Y-%m-%d',current_time( 'timestamp'))."',INTERVAL 13 DAY) and '".strftime('%Y-%m-%d',current_time( 'timestamp'))."' AND stat_visitor_id not in(".$list_ips.") ";
		}
		elseif($duration == "30days")
		{
			$query= "select count(stat_visitor_id) as total_visitors from ".$wpdb->prefix."tts_referrer_stats where  DATE_FORMAT(create_time,'%Y-%m-%d') between DATE_SUB('".strftime('%Y-%m-%d',current_time( 'timestamp'))."',INTERVAL 29 DAY) and '".strftime('%Y-%m-%d',current_time( 'timestamp'))."' AND stat_visitor_id not in(".$list_ips.") ";
		}
		elseif($duration == "60days")
		{
			$query= "select count(stat_visitor_id) as total_visitors from ".$wpdb->prefix."tts_referrer_stats where  DATE_FORMAT(create_time,'%Y-%m-%d') between DATE_SUB('".strftime('%Y-%m-%d',current_time( 'timestamp'))."',INTERVAL 59 DAY) and '".strftime('%Y-%m-%d',current_time( 'timestamp'))."' AND stat_visitor_id not in(".$list_ips.") ";
		}
		elseif($fromDate)
		{
			$fromDate = date("Y-m-d",strtotime($fromDate));
			$toDate = date("Y-m-d",strtotime($toDate));
			$query= "select count(stat_visitor_id) as total_visitors from ".$wpdb->prefix."tts_referrer_stats where  DATE_FORMAT(create_time,'%Y-%m-%d') between '$fromDate' and '$toDate' AND stat_visitor_id not in(".$list_ips.") ";
		}
		else
		{
			$query = "select count(stat_visitor_id) as total_visitors from ".$wpdb->prefix."tts_referrer_stats where stat_visitor_id not in(".$list_ips.") ";
		}

		$Results = $wpdb->get_results($query, OBJECT);
		return $Results;
	}

	//This function is used to get referrer data from database
	function get_referrer_visitors_data()
	{

		global $wpdb;
		$query_ip = "select list_ip_address from ".$wpdb->prefix."tts_settings";
		$Results_ip = $wpdb->get_results($query_ip, OBJECT);

		$list_ip_addresses = $Results_ip[0]->list_ip_address;

		$list_ip_addresses = explode(",",$list_ip_addresses);
		$list_ips=array();
		foreach($list_ip_addresses as $ip)
		{
			$list_ips[] = "'".$ip."'";
		}
		$list_ips = implode(",",$list_ips);

		$query = "select referrer,count(distinct(stat_visitor_id)) as unique_visitors,
					count(stat_visitor_id) as visitors from ".$wpdb->prefix."tts_referrer_stats  where stat_visitor_id not in(".$list_ips.") group by referrer order by visitors desc limit 6";

		$Results = $wpdb->get_results($query, OBJECT);
		return $Results;
	}

	//This function is used to get referrer data from database
function get_referrer_visitors_records($duration,$fromDate,$toDate)
{
	global $wpdb;

		$query_ip = "select list_ip_address from ".$wpdb->prefix."tts_settings";
		$Results_ip = $wpdb->get_results($query_ip, OBJECT);

		$list_ip_addresses = $Results_ip[0]->list_ip_address;

		$list_ip_addresses = explode(",",$list_ip_addresses);
		$list_ips=array();
		foreach($list_ip_addresses as $ip)
		{
			$list_ips[] = "'".$ip."'";
		}
		$list_ips = implode(",",$list_ips);

	if($duration == "today")	{
		$query = "select create_time,referrer, count(stat_visitor_id) as visitors from ".$wpdb->prefix."tts_referrer_stats where DATE_FORMAT(create_time,'%Y-%m-%d')='".strftime('%Y-%m-%d',current_time( 'timestamp'))."' and stat_visitor_id not in(".$list_ips.") group by referrer order by visitors desc  limit 6";
	}
	elseif($duration == "yesterday") {
		$query = "select create_time,referrer, count(stat_visitor_id) as visitors from ".$wpdb->prefix."tts_referrer_stats where DATE_FORMAT(create_time,'%Y-%m-%d')= DATE_SUB('".strftime('%Y-%m-%d',current_time( 'timestamp'))."',INTERVAL 1 Day) and stat_visitor_id not in(".$list_ips.") group by referrer order by visitors desc limit 6";
	}
	elseif($duration == "7days")
	{
		$query = "select create_time,referrer, count(stat_visitor_id) as visitors from ".$wpdb->prefix."tts_referrer_stats where DATE_FORMAT(create_time,'%Y-%m-%d') between DATE_SUB('".strftime('%Y-%m-%d',current_time( 'timestamp'))."',INTERVAL 6 DAY) and '".strftime('%Y-%m-%d',current_time( 'timestamp'))."'  and stat_visitor_id not in(".$list_ips.") group by referrer order by visitors desc limit 6";
	}
	elseif($duration == "14days")
	{
		$query = "select create_time,referrer, count(stat_visitor_id) as visitors from ".$wpdb->prefix."tts_referrer_stats where DATE_FORMAT(create_time,'%Y-%m-%d') between DATE_SUB('".strftime('%Y-%m-%d',current_time( 'timestamp'))."',INTERVAL 13 DAY) and '".strftime('%Y-%m-%d',current_time( 'timestamp'))."'  and stat_visitor_id not in(".$list_ips.") group by referrer order by visitors desc limit 6";
	}
	elseif($duration == "30days")
	{
		$query = "select create_time,referrer, count(stat_visitor_id) as visitors from ".$wpdb->prefix."tts_referrer_stats where DATE_FORMAT(create_time,'%Y-%m-%d') between DATE_SUB('".strftime('%Y-%m-%d',current_time( 'timestamp'))."',INTERVAL 29 DAY) and '".strftime('%Y-%m-%d',current_time( 'timestamp'))."'  and stat_visitor_id not in(".$list_ips.") group by referrer order by visitors desc limit 6";
	}
	elseif($duration == "60days")
	{
		$query = "select create_time,referrer, count(stat_visitor_id) as visitors from ".$wpdb->prefix."tts_referrer_stats where DATE_FORMAT(create_time,'%Y-%m-%d') between DATE_SUB('".strftime('%Y-%m-%d',current_time( 'timestamp'))."',INTERVAL 59 DAY) and '".strftime('%Y-%m-%d',current_time( 'timestamp'))."'  and stat_visitor_id not in(".$list_ips.") group by referrer order by visitors desc limit 6";
	}
	elseif($fromDate)
	{
		$fromDate = date("Y-m-d",strtotime($fromDate));
		$toDate = date("Y-m-d",strtotime($toDate));

		$query = "select create_time,referrer, count(stat_visitor_id) as visitors from ".$wpdb->prefix."tts_referrer_stats where DATE_FORMAT(create_time,'%Y-%m-%d') between '$fromDate' and '$toDate'  and stat_visitor_id not in(".$list_ips.") group by referrer order by visitors desc limit 6";
	}
	else {
		$query = "select referrer,count(stat_visitor_id) as visitors from ".$wpdb->prefix."tts_referrer_stats  where stat_visitor_id not in(".$list_ips.") group by referrer order by visitors desc limit 6";
	}

	$Results = $wpdb->get_results($query, OBJECT);

	return $Results;
}

} //end of class
?>

redpajama_set_name: RedPajamaGithub


text:
The new age of TRIS
By Daniel Butler & David Oon
25 August 2017 — 9 minute read
While there is now a mechanism to enable a TRIS to enter retirement phase, the ATO does not appear to accept that a TRIS can convert to an account based pension, which poses traps for SMSFs.
The transition to retirement income stream ('TRIS') entered a new era on 1 July 2017 where most members will want their TRIS to enter retirement phase as soon as possible to gain access to an earnings tax exemption. A new law has provided a roadmap for this TRIS reclassification, but tips and traps still exist. Additionally, the new law and supporting material appear to have cemented a somewhat surprising government and ATO position that a TRIS can be never actually become an account-based pension ('ABP'), even when a person meets a condition of release with a nil cashing restriction. We discuss these points below.
Rationale for the TRIS
The rationale for initially introducing the TRIS was to provide people with some limited access to their superannuation monies (in the form of a pension) upon attaining their preservation age, without the person needing to retire. Prior to 1 July 2017, there were many who have sought to commence a TRIS on attaining preservation age. During this period, a fund was typically exempt from the usual 15 per cent income tax in respect of the earnings on assets supporting the TRIS. However, from 1 July 2017, earnings on assets supporting a TRIS are typically no longer eligible for the exempt current pension income exemption (pension exemption). Only retirement phase pensions, such as ABPs, will be eligible for the pension exemption. In particular, a TRIS is expressly excluded from being in the 'retirement phase' under s307-80(3) of the Income Tax Assessment Act 1997 (Cth) ('ITAA 1997'). In explaining these changes, the explanatory memorandum to the Treasury Laws Amendment (Fair and Sustainable Superannuation) Bill 2016 (Cth) (the formal explanation that accompanied the 2016 law changes) states:
14.273 TRIS were intended to help older workers transition to retirement by allowing them to access their superannuation to supplement a reduction in their salary from working fewer hours. In practice these arrangements are used almost exclusively to reduce tax payable without a reduction in working hours, and to take advantage of the tax-free earnings in retirement phase.
14.274 Reducing the tax concessional nature of TRIS would ensure they are fit for purpose and not primarily accessed for tax minimisation purposes.
New law allows TRIS to enter retirement phase The Treasury Laws Amendment (2017 Measures No. 2) Bill 2017 ('TLA No 2 Bill') was passed on 15 June 2017 and received royal assent on 22 June 2017. The new law is premised on the assertion in the explanatory memorandum that a 'superannuation income stream that is established as a TRIS will always retain its character as a TRIS [and a TRIS is prevented from being] in the retirement phase even after the holder later satisfies a condition of release with a nil cashing restriction'. However, the new law fixes this problem by allowing a TRIS to enter retirement phase (and gain the pension exemption at the fund level) when the member:
- Meets the condition of release 'retirement' and notifies the trustee;
- Meets the condition of release 'terminal medical condition' and notifies the trustee;
- Meets the condition of release 'permanent incapacity' and notifies the trustee; or
Attains age 65 (with no need to notify the trustee).
The changes to the law relate to the 'retirement phase', but they do not change the definition of a TRIS or an ABP under superannuation law.
Entering the retirement phase brings the pension exemption but also brings the pension within the transfer balance cap regime. The fact that no notification is required when attaining age 65 means that careful planning ahead of time is a must, since attaining age 65 will give rise to an automatic credit to the transfer balance cap, without notice. This can give rise to an excess transfer balance tax assessment where a member's TRIS account balance exceeds their $1.6 million personal transfer balance cap (as indexed in future years).
For the other conditions of release the ATO has confirmed that some form of written notice is required to be given to the trustee before a TRIS counts as being in the retirement phase. Constructive notice or knowledge is not considered sufficient for SMSFs. This is a hurdle to pass before the pension exemption can apply, but it also prevents transfer balance cap credits arising before the trustee is ready.
Under the new law and the ATO's analysis, even though SMSF members will typically be the same people as the trustee or directors, TRIS recipients will need to notify the SMSF trustee in writing in order to get the pension exemption (other than those who turn 65). That is, simply meeting conditions of release is not enough to allow a TRIS to enter retirement phase. The law also requires notification. A legal personal representative of a member can also write to the trustee on the member's behalf. This should ideally also be authorised by the SMSF deed.
For those with larger TRIS balances preparing to move into full retirement phase, careful planning and documents are needed when reducing TRIS balances in anticipation of the transfer balance cap. In particular, reducing TRIS balances early in anticipation may not be sufficient if later growth in TRIS assets causes an excess transfer balance when retirement phase is actually entered.
Does the 10 per cent TRIS maximum still apply?
The ATO takes the view that the commutation restrictions and 10 per cent maximum annual payment limit fall away automatically under the statutory definition of a TRIS (see the ATO web page 'Super changes – Frequently asked questions' (QC 51875)). However, under some pension documents, these restrictions remain hardwired into the rules for trust law and/or contract law purposes. The newly passed law only allows a TRIS to enter retirement phase for tax law purposes and does not vary the hard-wired requirements of certain deeds and TRIS documents (which can also prescribe TRIS rules). In order to not be in breach of one's own documents, a deed of variation that removes the TRIS requirements is typically needed.
Does the TRIS become an ABP when it enters retirement phase?
While the ATO takes the view that the TRIS specific requirements can fall away automatically on meeting a full condition of release, the ATO does not accept that a TRIS can convert to an ABP. The ATO states on its web page 'Super changes – Frequently asked questions' (QC 51875):
Our view is that the current law does not facilitate an 'auto conversion' of a TRIS to a different or new pension or income stream. The same TRIS continues on and remains a TRIS until such time as it 'ceases'.
The law currently provides that once a nil cashing restriction condition of release is met, the limitations of a 10 per cent annual maximum payment and commutation restrictions are no longer applied.
Further, the explanatory material to the law introducing the TRIS retirement phase rules states (explanatory memorandum to the TLA No 2 Bill):
1.131 As a superannuation income stream that is established as a TRIS will always retain its character as a TRIS, the restriction introduced as part of the Amending Act would always prevent TRISs from being in the retirement phase even after the holder later satisfies a condition of release with a nil cashing restriction.
Limitations for succession planning
The above strongly suggests that the somewhat surprising latest ATO and Treasury view is that a TRIS cannot be converted to an ABP. To our knowledge, this concept that 'once an income stream is established as a TRIS will always retain its character as a TRIS' was only first broached when changes were included in TLA No 2 Bill, which was introduced into Parliament on 24 May 2017 (or some may have had access to the exposure draft Bill and explanatory memorandum during the consultation process during April 2017).
This change in ATO and Treasury view, if it is correct, will have serious succession planning consequences. Take for example a person who is 65 and in receipt of a TRIS that is in retirement phase. This TRIS never effectively converted to an ABP (assume that this is indeed impossible). On the death of the recipient, the TRIS is automatically reversionary to a reversionary beneficiary. The reversionary beneficiary has not met any condition of release. Due to the specific drafting of the new retirement phase rules, the TRIS will automatically cease to be in retirement phase because the recipient has not met any condition of release. This will cause problems for the pension earnings tax exemption as well as for reg 6.21 of the Superannuation Industry (Supervision) Regulations 1994 (Cth) which requires that death benefit pensions must be pensions in the retirement phase.
One alternative under this latest ATO and Treasury view to overcome potential regulatory issues is for the TRIS to be commuted during the member's lifetime and a new ABP commenced that could be reverted for the survivor. If the survivor receives a reversionary ABP, there is no need to satisfy any condition of release as that condition was satisfied on the member's death.
Thus, under this latest ATO and Treasury view the actual documents that are used will have a substantive difference on the outcome where the recipient has not satisfied a relevant condition or release (e.g. the recipient has not attained their preservation age). In summary:
An ABP can revert and the recipient obtains a pension in retirement phase without having to satisfy any condition of release (with the fund obtaining the pension exemption).
However, if the member does not undertake a commutation of their TRIS and commence a new ABP during their lifetime, the recipient who has not satisfied a relevant condition of release would not be able to receive a reversion of that TRIS. The fund could, however, commute that TRIS (or treat the TRIS as having ceased on the member's death) and commence a new ABP for the recipient so that the recipient can be in retirement phase.
Under this latest ATO and Treasury view, there is considerably more work and fees for advisers as you can see the above scenario is quite onerous, typically quite costly and may come with other adverse consequences. It will also typically require the assistance of an adviser who has an Australian Financial Services Licence who can provide a statement of advice; another potential further cost.
Naturally, it would be far more efficient and simpler if the ATO accepted that a TRIS could convert to an ABP without ceasing as the law has been operating for many years. In particular:
A TRIS by definition is actually an ABP with additional restrictions, accordingly it seems highly unusual that a TRIS should be prevented from becoming an ABP. As discussed above, the ATO accepts these restrictions fall away on a relevant condition of release being satisfied.
If the governing rules of the fund and related pension documents provide for the rules of an ABP once a relevant condition of release with a nil cashing restriction is met, the income stream meets the definition of an ABP regardless of whether it commenced as a TRIS originally.
There is no express provision in the legislation that precludes the conversion of a TRIS to an ABP. One would have expected express wording in the legislation if there was an intent to change long established industry practice that was initiated by the Explanatory Statement to the Superannuation Industry (Supervision) Amendment Regulations 2007 (No. 1). There have been no relevant changes to the definition of a TRIS or an ABP in the Superannuation Industry (Supervision) Regulations 1994 (Cth) that would support the conclusion that a TRIS cannot be converted to an ABP. In particular, our understanding is that TRISs have since 1 July 2007 been able to convert to an ABP and this has been undertaken on a widespread basis in the SMSF industry.
This conversion practice became quite popular following the super reforms that occurred in mid-2007 aimed at 'crystallising' a tax-free component in respect of a pension (broadly, the then pre-1983 component); which was typically then an allocated pension. Following the mid-2007 reforms, members were permitted to convert their allocated pension (which were phased out with no new allocated pensions being allowed to commence after 19 September 2007) to an ABP without the need to first commute their original allocated pension back to accumulation to commence a new ABP (and therefore be subject to the proportioning rule on the commencement of the new ABP). Instead, the member could convert straight across from their allocated pension to a new ABP. In this regard, the Explanatory Statement to the Superannuation Industry (Supervision) Amendment Regulations 2007 (No. 1) made the following comment:
The new minimum standards [being the payment rules for an ABP] will not be restricted to income streams which commence on or after 20 September 2007. This means that existing allocated pensions will be able to operate under the new minimum payment rules from 1 July 2007 without the need to commute and restart the pension.
While the new law gives a mechanism for TRISs to enter retirement phase, the ATO does not appear at this stage to accept that a TRIS can convert to an ABP. However, the points outlined above do support that a TRIS can convert to an ABP. Hopefully the ATO will eventually accept this view or legislative clarification will eventuate to clarify the uncertainty caused from the recent changes that passed as law in June 2017. We understand that a number of professional bodies are still seeking to clarify this point.
Daniel Butler, director and David Oon, senior associate, DBA Lawyers
Daniel Butler & David Oon
Last Updated: 08 December 2022 Published: 25 August 2017
Written by Daniel Butler & David Oon


At a time when Maharshtras Latur is facing severe water crisis and people are fighting for every drop of water, a Muslim man distributes 8000-10000 litres of free water everyday to 150-200. Ye Kaisa Nasha Hai Nitin Free mp3 download . . Song Downlod Free Download Full Hd Movie . Project Marathwada video songs download love Shanghai full .
Panjagni Malayalam Movie Download Free Mp3 Song. .. . MP3 Movie Songs 320Kbps Free Mp3 Song . . Fury Road in hindi download hd With Love, . DOWNLOAD Project Marathwada Satya 2 full movie hd 1080p in hindi .
Project Marathwada (2016) Hindi Full Movie Online. . Movie Watch Online Love Shagun Movie Release . Quality Movie Mobile MP4 3GP MKV Free Download Movie: .
You can download or play Sarva Dharma Prarthana Mp3 Song with best mp3 quality . Students' Project Mp3 . rajpit hunde sirme song download; Sanam teri kasam movie .. . Hindi Dj Remix Songs All Mp3 Song Download . dubbed download tamil to hindi Love Exchange book download Project Marathwada kannada movie .


We are Arranger & structurer, portfolio & asset management, master & corporate servicer, RON and agent bank of securitisation vehicles (ex Law 130/99). We are rated as Primary and Master Servicer by S&P and Fitch and we currently manage approx. 45 billion Euros of loans (47 portfolios, 1.1ml lines).
We manage 7.5 billion Euros under Special Servicing, offering credit management services through a dedicated in-house team and a state-of-the-art technological and operational infrastructure.
We provide those services both directly and via third-party outsourcers, maintaining full oversight and control of the flows of data (so-called Special Servicer Oversight).
The CF team – by virtue of his experience and the bank's platform – offers due diligence, advisory and capital markets services in connection with the management, structuring and acquisition/ disposal of loan portfolios.
CF is also a direct investor in loan portfolios, and can therefore offer his clients to co-invest alongside them or act as Sponsor of their securitisation vehicles, acquiring the so-called "retention investment".


text:
The New Cincinnati City Ordinance on Marijuana
News that Cincinnati had decriminalized marijuana possession under 100 grams (about 3 ounces) spread far and wide yesterday and even made the front page of Reddit. Before everyone gets too excited though, there are a few things to remember.
Public consumption of marijuana is still prohibited.
You can still be cited for possession, but that citation carries no fines and no criminal record. Being cited for possession will no longer need to be reported on a job application.
This ONLY applies to city police officers who issue possession citations. Sheriff's Deputies and State Highway Patrol Officers can still issue a citation under Ohio Law, which would be classified as a misdemeanor and carry a fine of $150 and would have to be reported on a job application.
It is worth noting that other areas in Cincinnati, like Norwood, passed similar ordinances but the police chose to still cite offenders under the state law, which could also happen in Cincinnati. The Chief of Police has indicated that he has instructed his officers to follow the city ordinance rather than the state law, but that is subject to change.
Another measure to decriminalize a smaller amount of marijuana could still go before the council for a vote and would override the 100 gram law if approved.
Stay tuned for more developments.
https://www.cincinnati.com/story/news/politics/2019/06/11/marijuana-cincinnati-council-debates-how-much-pot-should-allowed/1420362001/
https://www.wvxu.org/post/marijuana-possession-ordinance-finally-gets-approved-city-council
https://www.wcpo.com/news/local-news/hamilton-county/norwood/norwood-police-still-issue-citations-for-marijuana-despite-november-vote-to-decriminalize-it


text:
Dr Aryati Yashadhana
PhD, BA Hons
Centre for Primary Health &Eq
Dr Aryati Yashadhana is a Research Associate, at the Centre for Health Equity Training Research & Evaluation (CHETRE) UNSW, and a Visiting Fellow, School of Social Sciences UNSW. Her work focuses on socioeconomic, cultural and political determinants of health, intersectional health equity (gender, race, class), and international development. Her research has largely taken place in collaboration with Aboriginal and Torres Strait Islander peoples in Australia (NSW and Northern Territory) with a focus on analyzing the cultural dimensions of access and equity in the context of eye health and chronic disease. Dr. Yashadhana works from a place of understanding and respect for Aboriginal cultural protocols as foundational to research relationships. Internationally, she's worked in in low and middle income settings (Sub-Saharan Africa, South America, South East Asia, Pacific) and been a lead investigator on various projects commissioned by the World Bank Group centred around access to child eye health services (Malawi, Colombia, Pakistan). Dr Yashadhana specialises in qualitative and participatory methodologies, with a particular interest in the application of critical realist and decolonizing theories, the way marginalised peoples and cultures interface with dominant systems and structures, and analyzing access to health systems and services.
a.yashadhana@unsw.edu.au
Yashadhana A; Fields T; Burnett A; Zwi AB, 2021, 'Re-examining the gap: A critical realist analysis of eye health inequity among Aboriginal and Torres Strait Islander Australians.', Soc Sci Med, vol. 284, pp. 114230, http://dx.doi.org/10.1016/j.socscimed.2021.114230
Yashadhana A; Clarke NA; Zhang JH; Ahmad J; Mdala S; Morjaria P; Yoshizaki M; Kyari F; Burton MJ; Ramke J, 2021, 'Gender and ethnic diversity in global ophthalmology and optometry association leadership: a time for change', Ophthalmic and Physiological Optics, vol. 41, pp. 623 - 629, http://dx.doi.org/10.1111/opo.12793
Topp SM; Tully J; Cummins R; Graham V; Yashadhana A; Elliott L; Taylor S, 2021, 'Unique knowledge, unique skills, unique role: Aboriginal and Torres Strait Islander Health Workers in Queensland, Australia', BMJ GLOBAL HEALTH, vol. 6, http://dx.doi.org/10.1136/bmjgh-2021-006028
Yashadhana A; Pollard-Wharton N; Zwi AB; Biles B, 2020, 'Indigenous Australians at increased risk of COVID-19 due to existing health and socioeconomic inequities', The Lancet Regional Health - Western Pacific, vol. 1, pp. 100007 - 100007, http://dx.doi.org/10.1016/j.lanwpc.2020.100007
Yashadhana A; Zhang JH; Yasmin S; Morjaria P; Holland P; Faal H; Burton MJ; Ramke J, 2020, 'Action needed to improve equity and diversity in global eye health leadership', Eye, http://dx.doi.org/10.1038/s41433-020-0843-y
Jalbert I; Rahardjo D; Yashadhana A; Liew G; Gopinath B, 2020, 'A qualitative exploration of Australian eyecare professional perspectives on Age-Related Macular Degeneration (AMD) care', PLoS ONE, vol. 15, pp. e0228858, http://dx.doi.org/10.1371/journal.pone.0228858
Yashadhana A; Morse A; Tatipata S; Lim N; Rogers A; Lee L; Burnett AM, 2020, 'Using quality improvement strategies to strengthen regional systems for Aboriginal and Torres Strait Islander eye health in the Northern Territory', Australian Journal of Rural Health, http://dx.doi.org/10.1111/ajr.12575
Yashadhana A; Lee L; Massie J; Burnett A, 2020, 'Non‐clinical eye care support for Aboriginal and Torres Strait Islander Australians: a systematic review', Medical Journal of Australia, http://dx.doi.org/10.5694/mja2.50480
Yashadhana A; Fields T; Blitner G; Stanley R; Zwi A, 2020, 'Trust, culture, and communication: determinants of eye health and care among Indigenous people with diabetes in Australia', BMJ Global Health, vol. 5, http://dx.doi.org/10.1136/bmjgh-2019-001999
Jalbert I; Rahardjo D; Yashadhana A; Liew G; Gopinath B, 2018, 'A qualitative exploration of eyecare professional perspectives on Age-Related Macular Degeneration (AMD) care', , http://dx.doi.org/10.1101/490383
Burnett AM; Yashadhana A; Lee L; Serova N; Brain D; Naidoo K, 2018, 'Interventions to improve school-based eye-care services in low- and middle-income countries: a systematic review', Bulletin of the World Health Organization, vol. 96, pp. 682 - 694D, http://dx.doi.org/10.2471/BLT.18.212332
Burnett A; Yashadhana A; Cabrera Aguas M; Hanni Y; Yu M, 2016, 'Experiences of vision impairment in Papua New Guinea: Implications for blindness prevention programs', Rural and Remote Health, vol. 16
MacAuley M; Macintyre A; Yashadhana A; Cassola A; Harris P; Woodward C; Smith K; de Leeuw E; Palkovits M; Hoffman SJ; Fafard P, 2021, 'Under the spotlight: understanding the role of the Chief Medical Officer in a pandemic', Journal of Epidemiology and Community Health, http://dx.doi.org/10.1136/jech-2021-216850
Yashadhana A; Derbas A; Biles J; Grant J, 2021, 'Pandemic-related racial discrimination and its health impact among non-Indigenous racially minoritized peoples in high-income contexts: a systematic review.', Health Promot Int, http://dx.doi.org/10.1093/heapro/daab144
Hamm LM; Yashadhana A; Burn H; Black J; Grey C; Harwood M; Peiris-John R; Burton MJ; Evans JR; Ramke J, 2021, 'Interventions to promote access to eyecare for non-dominant ethnic groups in high-income countries: A scoping review', BMJ Global Health, vol. 6, pp. e006188 - e006188, http://dx.doi.org/10.1136/bmjgh-2021-006188
de Leeuw E; Harris P; Kim J; Yashadhana A, 2021, 'A health political science for health promotion', Global Health Promotion, pp. 17579759211034418, http://dx.doi.org/10.1177/17579759211034418
Reports | 2021
Yashadhana A, 2021, Indigenous eye health inequity and what we can do to improve access and outcomes, Centre for Health Equity Training, Research and Evaluation, http://dx.doi.org/10.53714/czqh8252
Keay L; Palagyi A; Heraghty J; Cummins R; Tahhan N; Yashadhana A, 2017, Low vision, quality of life and independence: A review of the evidence on aids and technologies, Macular Disease Foundation Australia, Macular Disease Foundation Australia, https://www.mdfoundation.com.au/sites/default/files/MDFA_LowVision_Aids_WEB_25%201%202017.pdf
Theses / Dissertations | 2019
Yashadhana A, 2019, The Patient Experience in Eye Care Study: An exploration of the sociocultural and political determinants of diabetic eye care in rural Aboriginal communities, UNSW, http://handle.unsw.edu.au/1959.4/61532
Yashadhana A; Fields T; Fernando W; Brown K; Blitner G; Hayes F; Stanley R; Donnelly B; Jerrard B; Burnett A; Zwi A, 2015, 'Indigenous Australians' perceptions of diabetic eye disease: Understanding prevention, access to care and social determinants', in Indigenous Australians' perceptions of diabetic eye disease: Understanding prevention, access to care and social determinants, World Diabetes Congress, Vancouver, Canada, presented at World Diabetes Congress, Vancouver, Canada, 30 November 2015 - 05 December 2015, http://dx.doi.org/10.13140/RG.2.1.3263.8807
Conference Posters | 2015
Yashadhana A; Stanley R; Hayes F; Blitner G; Burnett A; Zwi A, 2015, 'Understanding eye health inequity through the experiences of Indigenous people in remote Australia', Durban, South Africa, presented at World Social Science Forum, Durban, South Africa, 13 September 2015 - 16 September 2015, http://dx.doi.org/10.13140/RG.2.1.2443.5685
Yashadhana A; Stanley R; Hayes F; Blitner G, 2015, 'Understanding eye care through the experiences of Aboriginal people in the NT', in Understanding eye care through the experiences of Aboriginal people in the NT, 13th National Rural Health Conference, Darwin, Australia, presented at 13th National Rural Health Conference, Darwin, Australia, 24 May 2015 - 27 May 2015, http://dx.doi.org/10.13140/RG.2.1.4654.1845
Yashadhana A, 2012, Tracking Empowerment: An exploratory study on the complexities of empowerment in development practice, UNSW, School of Social Sciences UNSW
(2017) Brian Kirby Prize ($5000) for research excellence
2021 – Chief Investigator A, National Health & Medical Research Council Medical Research Future Fund ($560,209)
Understanding how cultural resilience impacts Aboriginal health and quality of life
2021 – Chief Investigator - Centre for Primary Health Care & Equity UNSW research fund ($10,000)
A systematic review of placemaking and its impact on refugee health in high-income contexts
2020 – Associate Investigator - Shanghai Jiao Tong University-UNSW Collaborative Research Fund ($10,000)
Access to social health care among older people in China
2019 – Associate Investigator - Seed Grant, UNSW Ageing Futures Institute ($30,000)
Supporting Aboriginal people to age well in remote settings
2018 – Chief Investigator - Project grant, Fred Hollows Foundation ($69,543)
Understanding non-clinical roles and support in Aboriginal and Torres Strait Islander eye care
2017 – Associate Investigator - Project grant, The World Bank Group ($217,916)
A systematic review and qualitative study of child eye health in low- and middle-income countries
Global situational analysis of child eye health in low- and middle-income countries
Dr. Yashadhana has had outstanding impact for her early career stage, with examples of research and policy impact in the areas of eye health and cultural competence in clinical education and care. She recently co-designed three modules for undergraduate medical students at UNSW with the goal of improving cultural competency skills when working with Aboriginal and Torres Strait Islander patients. She was recently acknowledged for her contributions in the Lancet Global Commission on Global Eye Health where she contributed to co-authoring several parallel articles focused on gender and ethinic diversity in eye health leadership, and access to eye care among racially minoritised groups.
Dr. Yashadhana is Chief Investigator A on the NHMRC funded Gaawaadhi Gadudha Project which aims to develop a model of cultural health that demonstrates how existing walaays (Aboriginal cultural gatherings) carried out on sacred sites impact community and individual wellbeing; and how they can be better linked with regional health systems to improve health outcomes for the Yuwalaraay, Gamilaraay, and Yuin peoples in the Western and South Coast regions of NSW. The project operates under a cultural governance framework that ensures that decisions made are reflective of cultural leaders from the study sites.
Introduction to Global Development (ARTS1750)


Cathy's Lake House, On Diamond Lake!
PLEASE NOTE: RATES during the summer season & Notre Dame Football weekends are higher than other times: $2,800/week; Minimum of 2 nights: $900; 3 nights: $1,200.
OFF SEASON RATES: $2,000/month. Contact me for exact rates.


Reed, Caitlin and Lauren meet with Dr. Risman in hopes of stabilizing Reed's powers, while Polaris tries to protect baby Dawn from the Inner Circle.
Revisit the Island of Misfit Toys with Santa's special sled-puller in this 1964 Rankin/Bass classic.
Peggy and Mike get into an argument about how involved they should be in their children's lives after Mike talks to Eddie about s-e-x.
Season 3 premiere: Former Scientologist Valerie Haney reveals how conditions at a heavily guarded compound led her to contemplate suicide.
Fall finale: Kevin arrives at the ville where his father served; Randall debates Councilman Brown; Jack struggles to get through to Nicky.
Following capture, Black Lightning and Thunder fight to get Looker to release control over the Sange.
Lena gets involved with Maya's pregnancy; Martin reads Mae's diary and is led to believe she is romantically involved with her teacher.
Fall finale: The recipient of Max's sister's heart arrives at the hospital; Frome helps a transgender patient; Bloom stresses over a difficult conversation.


text:
Second volume of new contemporary edition of the world's oldest novel, 'The Tale of Genji', by Mitsuyo Kakuta, published
December 3, 2018 by Richard Nathan
Second volume of a new modern edition of The Tale of Genji by Mitsuyo Kakuta, published 30 October 2018, on sale at a major Japanese bookstore in Tokyo. Photograph: Red Circle Authors Limited.
The second book in the three volume new modernised edition of The Tale of Genji, often-described as the world's first novel, adapted and translated for a new generation of readers by Mitsuyo Kakuta, is now on sale in Japan.
The first volume of Kakuta's edition delighted readers and received critical acclaim, and this is expected to be built on with the publication of book two and book three.
The Tale of Genji, written in the eleventh-century by the Japanese noble-woman Murasaki Shikibu (978-1014), is already an international publishing sensation, with translations, spin-offs and adaptations for manga, anime, film and theatre.
Kakuta's new edition will ensure that this continues well into the future. Despite readers needing to wait until next year for the final instalment in the trilogy, Amazon Japan is already taking pre-orders for the final concluding instalment, which is due to be released in November 2019.
Kakuta is following in a long tradition of Japan's leading author from each generation updating and publishing a new version of this "seductive novel" about the Japanese prince Genji set in Japan's Heian Period (794-1185). A very peaceful period in Japanese history often referred to as the world's "first golden age of female writers".
This multi-generational trend has helped keep this rather long and esoteric tale, which in its original version consists of 54 scrolls or chapters; around a million words; about 430 different characters; 800 poems; as well as 8 or so love interests, fresh, and relevant to contemporary readers.
The first two volumes of Kakuta's adaptation are both around 700-pages in length, which no doubt led to the strategy of publishing the tale about this shining Japanese prince in three volume instalments over a three-year period.
According to the Japan expert and former Editor of The New York Review of Books, Ian Buruma, The Tale of Genji, which is replete with rather promiscuous characters, is a novel all "about the art of seduction."
"Murasaki watched the sexual manoeuvrings, the social plots, the marital politics, the swirl of slights and flatteries that went on around her, with the keen, sometimes sardonic, and always worldly eyes of a medieval Jane Austen. Her Buddhist view of life's fleeting nature and the vanity of human affairs added a dash of melancholy to her ornate aristocratic prose," Buruma writes in a review of an English language translation by Dennis Washburn published in 2015 for The New Yorker.
It is very apparent from the original version that the tools for seduction in Japan's Heian Period were art, poetry, calligraphy and style. Unsurprisingly, it took Kakuta considerable time to decide on the right style and rhythm required to make the novel readable, accessible and compelling for today's readers who are more familiar with online dating than traditional methods of courtship.
Her careful and considered approach appears to have worked wonders. Japanese readers are posting comments on social media about how amazingly easy it is to read her version and how her first two volumes read like an original Kakuta novel set over a thousand years ago in Japan's Heian Period.
Despite the numerous deadlines and length of the work and the fact that some of Japan's most highly regarded writers have published versions for previous generations of readers, Kakuta, who says she didn't have any special feeling or connection with The Tale of Genji when she embarked on this major project, didn't feel any particular pressure.
The first modern translation edition of The Tale of Genji is said to have been published by the feminist poet and author Akiko Yosano (1878-1942). Junichiro Tanizaki (1886-1965) and Jakucho Setouchi are two other examples of leading authors who adapted and published editions, each reflecting their particular literary style and the times they lived in.
Kakuta's version is being published by Kawade Shobo Shinsha, one of Japan's leading publishers founded in 1886, and are behind the quarterly journal Bungei, behind the Bungei Prize that has launched the careers of many of Japan's authors including Amy Yamada (Bedtime Eyes), Akira Kuroda (Made In Japan) and Risa Wataya (Install).
Kakuta, a very prolific author who is still not well known outside Japan but often referred to in Japan as one of the country's best and most widely read writers, has had to put all other major writing projects on hold since 2015 to focus on this new three volume edition of The Tale of Genji.
The publication is a part of a special project, an Anthology of Japanese Literature, supervised by Natsuki Ikezawa, one of Japan most prominent literary figures, and is being promoted aggressively by its publisher.
More information in Japanese on Mitsuyo Kakuta's Tale of Genji is available here.
About Red Circle:
Red Circle Authors Limited is a specialist publishing and communications company that conducts bespoke projects on behalf of a carefully selected and curated group of leading Japanese authors. Red Circle showcases Japan's best creative writing. For more information on Red Circle, Japanese literature, and Red Circle authors please visit: www.redcircleauthors.com.
About Mitsuyo Kakuta:
Mitsuyo Kakuta is a skillful and prolific author whose works instantly captivate. Her bestselling novel The Eighth Day became one of Japan's best-known television series that no one dared miss. Her first novel Kofuku na yugi (A Blissful Pastime) written while she was still a student at university in Tokyo won the Kaien Prize for New Writers. She has gone on to win numerous Japanese literary awards and is now one of Japan's best-known contemporary authors.
Mitsuyo Kakuta


text:
package android.location.cts;

import android.content.Context;
import android.location.Criteria;
import android.location.LocationManager;
import android.location.LocationProvider;
import android.test.AndroidTestCase;

public class LocationProviderTest extends AndroidTestCase {
    private static final String PROVIDER_NAME = "location_provider_test";

    private LocationManager mLocationManager;

    @Override
    protected void setUp() throws Exception {
        super.setUp();
        mLocationManager =
            (LocationManager) getContext().getSystemService(Context.LOCATION_SERVICE);
        addTestProvider(PROVIDER_NAME);
    }

    @Override
    protected void tearDown() throws Exception {
        mLocationManager.removeTestProvider(PROVIDER_NAME);
        super.tearDown();
    }

    /**
     * Adds a test provider with the given name.
     */
    private void addTestProvider(String providerName) {
        mLocationManager.addTestProvider(
                providerName,
                true,  // requiresNetwork,
                false, // requiresSatellite,
                false, // requiresCell,
                false, // hasMonetaryCost,
                true,  // supportsAltitude,
                false, // supportsSpeed,
                true,  // supportsBearing,
                Criteria.POWER_MEDIUM,   // powerRequirement,
                Criteria.ACCURACY_FINE); // accuracy
        mLocationManager.setTestProviderEnabled(providerName, true);
    }

    public void testGetName() {
        LocationProvider locationProvider = mLocationManager.getProvider(PROVIDER_NAME);
        assertEquals(PROVIDER_NAME, locationProvider.getName());
    }

    public void testMeetsCriteria() {
        LocationProvider locationProvider = mLocationManager.getProvider(PROVIDER_NAME);

        Criteria criteria = new Criteria();
        criteria.setAltitudeRequired(true);
        criteria.setBearingRequired(true);
        assertTrue(locationProvider.meetsCriteria(criteria));
    }
}


text:
I campionati mondiali di tiro 1983 furono la ventesima edizione dei campionati mondiali di questo sport e si disputarono a Edmonton.

Risultati

Uomini

Fossa olimpica

Skeet

Donne

Fossa olimpica

Skeet

Medagliere

Collegamenti esterni

1983

redpajama_set_name: RedPajamaWikipedia


Hello, i have new Lenovo V510z and i can install Windows 7 Pro 64 from DVD. Installation started, but is not possible use mouse and keyboard for continuation. In BIOS/UEFI keyboard normally working. Thanks for answers.
Can you please change the settings in BIOS menu under Devices>USB Setup>USB Virtual KBC Support to enabled and check once.
In Devices menu is only USB Support, USB Legacy Support and Rear/Side USB Ports to endable/disable. I try install Win 10 and in this installation is allready allright.
Ok please check in BIOS under Startup for Keyboardless Operation to disabled or vice-versa.
I can't found this option. I send screen of BIOS.
Have you checked in all tabs under BIOS menu? And also try plugging the Keyboard & Mouse in USB 2.0 ports as this system is having 6th and 7th Generation processors which is not designed for Windows 7.
If you feel your query is answered, then you can mark it as an Accepted Solution which will help fellow community members in future.