text:
<?php
// .-----------------------------------------------------------------------------------
// |
// | WE TRY THE BEST WAY
// | Site: http://www.gooraye.net
// |-----------------------------------------------------------------------------------
// | Author: 贝贝 <hebiduhebi@163.com>
// | Copyright (c) 2012-2014, http://www.gooraye.net. All Rights Reserved.
// |-----------------------------------------------------------------------------------

namespace User\Controller;
use Think\Controller;
class LinkController extends UserController{
	public $where;
	public $modules;
	public function _initialize() {
		parent::_initialize();
		$this->where=array('token'=>$this->token);
		$this->modules=array(
		'Home'=>'首页',
		'Classify'=>'网站分类',
		'Img'=>'图文回复',
		'Company'=>'LBS信息',
		'Adma'=>'DIY宣传页',
		'Photo'=>'相册',
		'Selfform'=>'万能表单',
		'Host'=>'商家订单',
		'Groupon'=>'团购',
		'Shop'=>'商城',
		'Repast'=>'订餐',
		'Wedding'=>'婚庆喜帖',
		'Vote'=>'投票',
		'Panorama'=>'全景',
		'Lottery'=>'大转盘',
		'Guajiang'=>'刮刮卡',
		'Coupon'=>'优惠券',
		'MemberCard'=>'会员卡',
		'Estate'=>'微房产',
		'Message'=>'留言板',
		'Car'=>'汽车',
		'GoldenEgg'=>'砸金蛋',
		'LuckyFruit'=>'水果机',
		'Forum'=>'论坛',
		'GreetingCard'=>'贺卡',
		'Medical'=>'微医疗',
		'School'=>'微教育',
		'Hotels'=>'酒店宾馆',
		'OutsideLink'=>'生活服务',
		);
	}
	public function insert(){
		if ($_GET['iskeyword']){
			$modules=$this->keywordModules();
		}else {
			$modules=$this->modules();
		}
		$this->assign('modules',$modules);
		$this->display();
	}
	public function keywordModules(){
		return array(
		array('module'=>'Home','linkcode'=>'{siteUrl}/index.php/Wap/Index/index?token='.$this->token.'&wecha_id={wechat_id}','name'=>'微站首页','sub'=>0,'canselected'=>1,'linkurl'=>'','keyword'=>$this->modules['Home'],'askeyword'=>1),
		array('module'=>'Img','linkcode'=>'{siteUrl}/index.php/Wap/Index/content?token='.$this->token.'&wecha_id={wechat_id}','name'=>$this->modules['Img'],'sub'=>1,'canselected'=>0,'linkurl'=>'','keyword'=>'','askeyword'=>1),
		array('module'=>'Company','linkcode'=>'{siteUrl}/index.php/Wap/Company/map?token='.$this->token.'&wecha_id={wechat_id}','name'=>$this->modules['Company'],'canselected'=>1,'linkurl'=>'','keyword'=>'地图','askeyword'=>1),
		array('module'=>'Photo','linkcode'=>'{siteUrl}/index.php/Wap/Photo/index?token='.$this->token.'&wecha_id={wechat_id}','name'=>$this->modules['Photo'],'canselected'=>1,'linkurl'=>'','keyword'=>'相册','askeyword'=>1),
		array('module'=>'Selfform','linkcode'=>'{siteUrl}/index.php/Wap/Selfform/index?token='.$this->token.'&wecha_id={wechat_id}','name'=>$this->modules['Selfform'],'sub'=>1,'canselected'=>0,'linkurl'=>'','keyword'=>'','askeyword'=>1),
		array('module'=>'Host','linkcode'=>'{siteUrl}/index.php/Wap/Host/detail?token='.$this->token.'&wecha_id={wechat_id}','name'=>$this->modules['Host'],'sub'=>1,'canselected'=>0,'linkurl'=>'','keyword'=>'','askeyword'=>1),
		array('module'=>'Groupon','linkcode'=>'{siteUrl}/index.php/Wap/Groupon/grouponIndex?token='.$this->token.'&wecha_id={wechat_id}','name'=>$this->modules['Groupon'],'sub'=>0,'canselected'=>1,'linkurl'=>'','keyword'=>'团购','askeyword'=>1),
		array('module'=>'Shop','linkcode'=>'{siteUrl}/index.php/Wap/Store/index?token='.$this->token.'&wecha_id={wechat_id}','name'=>$this->modules['Shop'],'canselected'=>1,'linkurl'=>'','keyword'=>'商城','askeyword'=>1),
		array('module'=>'Repast','linkcode'=>'{siteUrl}/index.php/Wap/Repast/index?token='.$this->token.'&wecha_id={wechat_id}','name'=>$this->modules['Repast'],'sub'=>0,'canselected'=>1,'linkurl'=>'','keyword'=>'订餐','askeyword'=>1),
		array('module'=>'Wedding','linkcode'=>'{siteUrl}/index.php/Wap/Wedding/index?token='.$this->token.'&wecha_id={wechat_id}','name'=>$this->modules['Wedding'],'sub'=>1,'canselected'=>0,'linkurl'=>'','keyword'=>'','askeyword'=>1),
		array('module'=>'Vote','linkcode'=>'{siteUrl}/index.php/Wap/Vote/index?token='.$this->token.'&wecha_id={wechat_id}','name'=>$this->modules['Vote'],'sub'=>1,'canselected'=>0,'linkurl'=>'','keyword'=>'','askeyword'=>1),
		array('module'=>'Panorama','linkcode'=>'{siteUrl}/index.php/Wap/Panorama/index?token='.$this->token.'&wecha_id={wechat_id}','name'=>$this->modules['Panorama'],'sub'=>1,'canselected'=>0,'linkurl'=>'','keyword'=>$this->modules['Panorama'],'askeyword'=>1),
		array('module'=>'Lottery','linkcode'=>'','name'=>$this->modules['Lottery'],'sub'=>1,'canselected'=>0,'linkurl'=>'','keyword'=>'','askeyword'=>1),
		array('module'=>'Guajiang','linkcode'=>'','name'=>$this->modules['Guajiang'],'sub'=>1,'canselected'=>0,'linkurl'=>'','keyword'=>'','askeyword'=>1),
		array('module'=>'Coupon','linkcode'=>'','name'=>$this->modules['Coupon'],'sub'=>1,'canselected'=>0,'linkurl'=>'','keyword'=>'','askeyword'=>1),
		array('module'=>'MemberCard','linkcode'=>'{siteUrl}/index.php/Wap/Card/index?token='.$this->token.'&wecha_id={wechat_id}','name'=>$this->modules['MemberCard'],'sub'=>0,'canselected'=>1,'linkurl'=>'','keyword'=>'会员卡','askeyword'=>1),
		array('module'=>'Estate','linkcode'=>'{siteUrl}/index.php/Wap/Estate/index?token='.$this->token.'&wecha_id={wechat_id}','name'=>$this->modules['Estate'],'sub'=>0,'canselected'=>1,'linkurl'=>'','keyword'=>'微房产','askeyword'=>1),
		array('module'=>'Message','linkcode'=>'{siteUrl}/index.php/Wap/Reply/index?token='.$this->token.'&wecha_id={wechat_id}','name'=>$this->modules['Message'],'sub'=>0,'canselected'=>1,'linkurl'=>'','keyword'=>'留言','askeyword'=>1),
		array('module'=>'Car','linkcode'=>'{siteUrl}/index.php/Wap/brands/index?token='.$this->token.'&wecha_id={wechat_id}','name'=>$this->modules['Car'],'sub'=>0,'canselected'=>1,'linkurl'=>'','keyword'=>'汽车','askeyword'=>1),
		array('module'=>'GoldenEgg','linkcode'=>'','name'=>$this->modules['GoldenEgg'],'sub'=>1,'canselected'=>0,'linkurl'=>'','keyword'=>'','askeyword'=>1),
		array('module'=>'LuckyFruit','linkcode'=>'','name'=>$this->modules['LuckyFruit'],'sub'=>1,'canselected'=>0,'linkurl'=>'','keyword'=>'','askeyword'=>1),
		array('module'=>'Forum','linkcode'=>'{siteUrl}/index.php/Wap/Forum/index?token='.$this->token.'&wecha_id={wechat_id}','name'=>$this->modules['Forum'],'sub'=>0,'canselected'=>1,'linkurl'=>'','keyword'=>'论坛','askeyword'=>1),
		array('module'=>'Hotels','linkcode'=>'{siteUrl}/index.php/Wap/Hotels/index?token='.$this->token.'&wecha_id={wechat_id}','name'=>'酒店宾馆','sub'=>0,'canselected'=>1,'linkurl'=>'','keyword'=>'酒店','askeyword'=>1),
		array('module'=>'GreetingCard','linkcode'=>'','name'=>$this->modules['GreetingCard'],'sub'=>1,'canselected'=>0,'linkurl'=>'','keyword'=>'','askeyword'=>1),
		);
	}
	public function modules(){
		return array(
		array('module'=>'Home','linkcode'=>'{siteUrl}/index.php/Wap/Index/index?token='.$this->token.'&wecha_id={wechat_id}','name'=>'微站首页','sub'=>0,'canselected'=>1,'linkurl'=>'','keyword'=>$this->modules['Home'],'askeyword'=>1),
		array('module'=>'Classify','linkcode'=>'{siteUrl}/index.php/Wap/Index/lists?token='.$this->token.'&wecha_id={wechat_id}','name'=>$this->modules['Classify'],'sub'=>1,'canselected'=>0,'linkurl'=>'','keyword'=>'','askeyword'=>0),
		array('module'=>'Img','linkcode'=>'{siteUrl}/index.php/Wap/Index/content?token='.$this->token.'&wecha_id={wechat_id}','name'=>$this->modules['Img'],'sub'=>1,'canselected'=>0,'linkurl'=>'','keyword'=>'','askeyword'=>1),
		array('module'=>'Company','linkcode'=>'{siteUrl}/index.php/Wap/Company/map?token='.$this->token.'&wecha_id={wechat_id}','name'=>$this->modules['Company'],'sub'=>1,'canselected'=>1,'linkurl'=>'','keyword'=>'地图','askeyword'=>1),
		array('module'=>'Adma','linkcode'=>'{siteUrl}/index.php/show/'.$this->token,'name'=>$this->modules['Adma'],'sub'=>0,'canselected'=>1,'linkurl'=>'','keyword'=>'','askeyword'=>0),
		array('module'=>'Photo','linkcode'=>'{siteUrl}/index.php/Wap/Photo/index?token='.$this->token.'&wecha_id={wechat_id}','name'=>$this->modules['Photo'],'sub'=>1,'canselected'=>1,'linkurl'=>'','keyword'=>'相册','askeyword'=>1),
		array('module'=>'Selfform','linkcode'=>'{siteUrl}/index.php/Wap/Selfform/index?token='.$this->token.'&wecha_id={wechat_id}','name'=>$this->modules['Selfform'],'sub'=>1,'canselected'=>0,'linkurl'=>'','keyword'=>'','askeyword'=>1),
		array('module'=>'Host','linkcode'=>'{siteUrl}/index.php/Wap/Host/detail?token='.$this->token.'&wecha_id={wechat_id}','name'=>$this->modules['Host'],'sub'=>1,'canselected'=>0,'linkurl'=>'','keyword'=>'','askeyword'=>1),
		array('module'=>'Groupon','linkcode'=>'{siteUrl}/index.php/Wap/Groupon/grouponIndex?token='.$this->token.'&wecha_id={wechat_id}','name'=>$this->modules['Groupon'],'sub'=>0,'canselected'=>1,'linkurl'=>'','keyword'=>'团购','askeyword'=>1),
		array('module'=>'Shop','linkcode'=>'{siteUrl}/index.php/Wap/Store/index?token='.$this->token.'&wecha_id={wechat_id}','name'=>$this->modules['Shop'],'sub'=>1,'canselected'=>1,'linkurl'=>'','keyword'=>'商城','askeyword'=>1),
		array('module'=>'Repast','linkcode'=>'{siteUrl}/index.php/Wap/Repast/index?token='.$this->token.'&wecha_id={wechat_id}','name'=>$this->modules['Repast'],'sub'=>0,'canselected'=>1,'linkurl'=>'','keyword'=>'订餐','askeyword'=>1),
		array('module'=>'Wedding','linkcode'=>'{siteUrl}/index.php/Wap/Wedding/index?token='.$this->token.'&wecha_id={wechat_id}','name'=>$this->modules['Wedding'],'sub'=>1,'canselected'=>0,'linkurl'=>'','keyword'=>'','askeyword'=>1),
		array('module'=>'Vote','linkcode'=>'{siteUrl}/index.php/Wap/Vote/index?token='.$this->token.'&wecha_id={wechat_id}','name'=>$this->modules['Vote'],'sub'=>1,'canselected'=>0,'linkurl'=>'','keyword'=>'','askeyword'=>1),
		array('module'=>'Panorama','linkcode'=>'{siteUrl}/index.php/Wap/Panorama/index?token='.$this->token.'&wecha_id={wechat_id}','name'=>$this->modules['Panorama'],'sub'=>1,'canselected'=>1,'linkurl'=>'','keyword'=>$this->modules['Panorama'],'askeyword'=>1),
		array('module'=>'Lottery','linkcode'=>'','name'=>$this->modules['Lottery'],'sub'=>1,'canselected'=>0,'linkurl'=>'','keyword'=>'','askeyword'=>1),
		array('module'=>'Guajiang','linkcode'=>'','name'=>$this->modules['Guajiang'],'sub'=>1,'canselected'=>0,'linkurl'=>'','keyword'=>'','askeyword'=>1),
		array('module'=>'Coupon','linkcode'=>'','name'=>$this->modules['Coupon'],'sub'=>1,'canselected'=>0,'linkurl'=>'','keyword'=>'','askeyword'=>1),
		array('module'=>'MemberCard','linkcode'=>'{siteUrl}/index.php/Wap/Card/index?token='.$this->token.'&wecha_id={wechat_id}','name'=>$this->modules['MemberCard'],'sub'=>0,'canselected'=>1,'linkurl'=>'','keyword'=>'会员卡','askeyword'=>1),
		array('module'=>'Estate','linkcode'=>'{siteUrl}/index.php/Wap/Estate/index?token='.$this->token.'&wecha_id={wechat_id}','name'=>$this->modules['Estate'],'sub'=>1,'canselected'=>1,'linkurl'=>'','keyword'=>'微房产','askeyword'=>1),
		array('module'=>'Message','linkcode'=>'{siteUrl}/index.php/Wap/Reply/index?token='.$this->token.'&wecha_id={wechat_id}','name'=>$this->modules['Message'],'sub'=>0,'canselected'=>1,'linkurl'=>'','keyword'=>'留言','askeyword'=>1),
		array('module'=>'Car','linkcode'=>'{siteUrl}/index.php/Wap/brands/index?token='.$this->token.'&wecha_id={wechat_id}','name'=>$this->modules['Car'],'sub'=>1,'canselected'=>0,'linkurl'=>'','keyword'=>'','askeyword'=>1),
		array('module'=>'Medical','linkcode'=>'{siteUrl}/index.php/Wap/Medical/index?token='.$this->token.'&wecha_id={wechat_id}','name'=>$this->modules['Medical'],'sub'=>1,'canselected'=>0,'linkurl'=>'','keyword'=>'微医疗','askeyword'=>0),
		array('module'=>'School','linkcode'=>'{siteUrl}/index.php/Wap/School/index?token='.$this->token.'&wecha_id={wechat_id}','name'=>$this->modules['School'],'sub'=>1,'canselected'=>1,'linkurl'=>'','keyword'=>'微医疗','askeyword'=>0),
		array('module'=>'GoldenEgg','linkcode'=>'','name'=>$this->modules['GoldenEgg'],'sub'=>1,'canselected'=>0,'linkurl'=>'','keyword'=>'','askeyword'=>1),
		array('module'=>'LuckyFruit','linkcode'=>'','name'=>$this->modules['LuckyFruit'],'sub'=>1,'canselected'=>0,'linkurl'=>'','keyword'=>'','askeyword'=>1),
		array('module'=>'Forum','linkcode'=>'{siteUrl}/index.php/Wap/Forum/index?token='.$this->token.'&wecha_id={wechat_id}','name'=>$this->modules['Forum'],'sub'=>0,'canselected'=>1,'linkurl'=>'','keyword'=>'论坛','askeyword'=>1),
		array('module'=>'GreetingCard','linkcode'=>'','name'=>$this->modules['GreetingCard'],'sub'=>1,'canselected'=>0,'linkurl'=>'','keyword'=>'','askeyword'=>1),
		array('module'=>'Hotels','linkcode'=>'{siteUrl}/index.php/Wap/Hotels/index?token='.$this->token.'&wecha_id={wechat_id}','name'=>'酒店宾馆','sub'=>0,'canselected'=>1,'linkurl'=>'','keyword'=>'酒店','askeyword'=>1),
		array('module'=>'OutsideLink','linkcode'=>'','name'=>$this->modules['OutsideLink'],'sub'=>1,'canselected'=>0,'linkurl'=>'','keyword'=>'','askeyword'=>0),

		);
	}
	public function Classify(){
		$this->assign('moduleName',$this->modules['Classify']);
		$db=M('Classify');
		$where=$this->where;
		$count      = $db->where($where)->count();
		$Page       = new \Think\Page($count,5);
		$show       = $Page->show();
		$list=$db->where($where)->limit($Page->firstRow.','.$Page->listRows)->order('id DESC')->select();
		//
		$items=array();
		if ($list){
			foreach ($list as $item){
				array_push($items,array('id'=>$item['id'],'name'=>$item['name'],'linkcode'=>'{siteUrl}/index.php/Wap/Index/lists?token='.$this->token.'&wecha_id={wechat_id}&classid='.$item['id'],'linkurl'=>'','keyword'=>$item['keyword']));
			}
		}
		//
		$this->assign('list',$items);
		$this->assign('page',$show);
		$this->display('detail');
	}
	public function Img(){
		$this->assign('moduleName',$this->modules['Img']);
		$db=M('Img');
		$where=$this->where;
		$count      = $db->where($where)->count();
		$Page       = new \Think\Page($count,5);
		$show       = $Page->show();
		$list=$db->where($where)->limit($Page->firstRow.','.$Page->listRows)->order('id DESC')->select();
		//
		$items=array();
		if ($list){
			foreach ($list as $item){
				array_push($items,array('id'=>$item['id'],'name'=>$item['title'],'linkcode'=>'{siteUrl}/index.php/Wap/Index/content?token='.$this->token.'&wecha_id={wechat_id}&id='.$item['id'],'linkurl'=>'','keyword'=>$item['keyword']));
			}
		}
		//
		$this->assign('list',$items);
		$this->assign('page',$show);
		$this->display('detail');
	}
	public function Company(){
		$this->assign('moduleName',$this->modules['Company']);
		$db=M('Company');
		$where=$this->where;
		$count      = $db->where($where)->count();
		$Page       = new \Think\Page($count,5);
		$show       = $Page->show();
		$list=$db->where($where)->limit($Page->firstRow.','.$Page->listRows)->order('id DESC')->select();
		//
		$items=array();
		if ($list){
			foreach ($list as $item){
				array_push($items,array('id'=>$item['id'],'name'=>$item['name'],'linkcode'=>'{siteUrl}/index.php/Wap/Company/map?token='.$this->token.'&wecha_id={wechat_id}&companyid='.$item['id'],'linkurl'=>'','keyword'=>'地图'));
			}
		}
		//
		$this->assign('list',$items);
		$this->assign('page',$show);
		$this->display('detail');
	}
	public function Photo(){
		$this->assign('moduleName',$this->modules['Photo']);
		$db=M('Photo');
		$where=$this->where;
		$count      = $db->where($where)->count();
		$Page       = new \Think\Page($count,5);
		$show       = $Page->show();
		$list=$db->where($where)->limit($Page->firstRow.','.$Page->listRows)->order('id DESC')->select();
		//
		$items=array();
		if ($list){
			foreach ($list as $item){
				array_push($items,array('id'=>$item['id'],'name'=>$item['title'],'linkcode'=>'{siteUrl}/index.php/Wap/Photo/plist?token='.$this->token.'&wecha_id={wechat_id}&id='.$item['id'],'linkurl'=>'','keyword'=>'相册'));
			}
		}
		//
		$this->assign('list',$items);
		$this->assign('page',$show);
		$this->display('detail');
	}
	public function Selfform(){
		$this->assign('moduleName',$this->modules['Selfform']);
		$db=M('Selfform');
		$where=$this->where;
		$count      = $db->where($where)->count();
		$Page       = new \Think\Page($count,5);
		$show       = $Page->show();
		$list=$db->where($where)->limit($Page->firstRow.','.$Page->listRows)->order('id DESC')->select();
		//
		$items=array();
		if ($list){
			foreach ($list as $item){
				array_push($items,array('id'=>$item['id'],'name'=>$item['name'],'linkcode'=>'{siteUrl}/index.php/Wap/Selfform/index?token='.$this->token.'&wecha_id={wechat_id}&id='.$item['id'],'linkurl'=>'','keyword'=>$item['keyword']));
			}
		}
		//
		$this->assign('list',$items);
		$this->assign('page',$show);
		$this->display('detail');
	}
	public function Host(){
		$moduleName='Host';
		$this->assign('moduleName',$this->modules[$moduleName]);
		$db=M($moduleName);
		$where=$this->where;
		$count      = $db->where($where)->count();
		$Page       = new \Think\Page($count,5);
		$show       = $Page->show();
		$list=$db->where($where)->limit($Page->firstRow.','.$Page->listRows)->order('id DESC')->select();
		//
		$items=array();
		if ($list){
			foreach ($list as $item){
				array_push($items,array('id'=>$item['id'],'name'=>$item['name'],'linkcode'=>'{siteUrl}/index.php/Wap/Host/index?token='.$this->token.'&wecha_id={wechat_id}&hid='.$item['id'],'linkurl'=>'','keyword'=>$item['keyword']));
			}
		}
		//
		$this->assign('list',$items);
		$this->assign('page',$show);
		$this->display('detail');
	}
	public function Panorama(){
		$this->assign('moduleName',$this->modules['Panorama']);
		$db=M('Panorama');
		$where=$this->where;
		$count      = $db->where($where)->count();
		$Page       = new \Think\Page($count,5);
		$show       = $Page->show();
		$list=$db->where($where)->limit($Page->firstRow.','.$Page->listRows)->order('time DESC')->select();
		//
		$items=array();
		if ($list){
			foreach ($list as $item){
				array_push($items,array('id'=>$item['id'],'name'=>$item['name'],'linkcode'=>'{siteUrl}/index.php/Wap/Panorama/item?token='.$this->token.'&wecha_id={wechat_id}&id='.$item['id'],'linkurl'=>'','keyword'=>$item['keyword']));
			}
		}
		//
		$this->assign('list',$items);
		$this->assign('page',$show);
		$this->display('detail');
	}
	public function Wedding(){
		$moduleName='Wedding';
		$this->assign('moduleName',$this->modules[$moduleName]);
		$db=M($moduleName);
		$where=$this->where;
		$count      = $db->where($where)->count();
		$Page       = new \Think\Page($count,5);
		$show       = $Page->show();
		$list=$db->where($where)->limit($Page->firstRow.','.$Page->listRows)->order('id DESC')->select();
		//
		$items=array();
		if ($list){
			foreach ($list as $item){
				array_push($items,array('id'=>$item['id'],'name'=>$item['title'],'linkcode'=>'{siteUrl}/index.php/Wap/Wedding/index?token='.$this->token.'&wecha_id={wechat_id}&id='.$item['id'],'linkurl'=>'','keyword'=>$item['keyword']));
			}
		}
		//
		$this->assign('list',$items);
		$this->assign('page',$show);
		$this->display('detail');
	}
	public function Lottery(){
		$moduleName='Lottery';
		$this->assign('moduleName',$this->modules[$moduleName]);
		$db=M($moduleName);
		$where=$this->where;
		$where['type']=1;
		$count      = $db->where($where)->count();
		$Page       = new \Think\Page($count,5);
		$show       = $Page->show();
		$list=$db->where($where)->limit($Page->firstRow.','.$Page->listRows)->order('id DESC')->select();
		//
		$items=array();
		if ($list){
			foreach ($list as $item){
				array_push($items,array('id'=>$item['id'],'name'=>$item['title'],'linkcode'=>'{siteUrl}/index.php/Wap/Lottery/index?token='.$this->token.'&wecha_id={wechat_id}&id='.$item['id'],'linkurl'=>'','keyword'=>$item['keyword']));
			}
		}
		//
		$this->assign('list',$items);
		$this->assign('page',$show);
		$this->display('detail');
	}
	public function Guajiang(){
		$moduleName='Guajiang';
		$this->assign('moduleName',$this->modules[$moduleName]);
		$db=M('Lottery');
		$where=$this->where;
		$where['type']=2;
		$count      = $db->where($where)->count();
		$Page       = new \Think\Page($count,5);
		$show       = $Page->show();
		$list=$db->where($where)->limit($Page->firstRow.','.$Page->listRows)->order('id DESC')->select();
		//
		$items=array();
		if ($list){
			foreach ($list as $item){
				array_push($items,array('id'=>$item['id'],'name'=>$item['title'],'linkcode'=>'{siteUrl}/index.php/Wap/Guajiang/index?token='.$this->token.'&wecha_id={wechat_id}&id='.$item['id'],'linkurl'=>'','keyword'=>$item['keyword']));
			}
		}
		//
		$this->assign('list',$items);
		$this->assign('page',$show);
		$this->display('detail');
	}
	public function Coupon(){
		$moduleName='Coupon';
		$this->assign('moduleName',$this->modules[$moduleName]);
		$db=M('Lottery');
		$where=$this->where;
		$where['type']=3;
		$count      = $db->where($where)->count();
		$Page       = new \Think\Page($count,5);
		$show       = $Page->show();
		$list=$db->where($where)->limit($Page->firstRow.','.$Page->listRows)->order('id DESC')->select();
		//
		$items=array();
		if ($list){
			foreach ($list as $item){
				array_push($items,array('id'=>$item['id'],'name'=>$item['title'],'linkcode'=>'{siteUrl}/index.php/Wap/Coupon/index?token='.$this->token.'&wecha_id={wechat_id}&id='.$item['id'],'linkurl'=>'','keyword'=>$item['keyword']));
			}
		}
		//
		$this->assign('list',$items);
		$this->assign('page',$show);
		$this->display('detail');
	}
	public function LuckyFruit(){
		$moduleName='LuckyFruit';
		$this->assign('moduleName',$this->modules[$moduleName]);
		$db=M('Lottery');
		$where=$this->where;
		$where['type']=4;
		$count      = $db->where($where)->count();
		$Page       = new \Think\Page($count,5);
		$show       = $Page->show();
		$list=$db->where($where)->limit($Page->firstRow.','.$Page->listRows)->order('id DESC')->select();
		//
		$items=array();
		if ($list){
			foreach ($list as $item){
				array_push($items,array('id'=>$item['id'],'name'=>$item['title'],'linkcode'=>'{siteUrl}/index.php/Wap/LuckyFruit/index?token='.$this->token.'&wecha_id={wechat_id}&id='.$item['id'],'linkurl'=>'','keyword'=>$item['keyword']));
			}
		}
		//
		$this->assign('list',$items);
		$this->assign('page',$show);
		$this->display('detail');
	}
	public function GoldenEgg(){
		$moduleName='GoldenEgg';
		$this->assign('moduleName',$this->modules[$moduleName]);
		$db=M('Lottery');
		$where=$this->where;
		$where['type']=5;
		$count      = $db->where($where)->count();
		$Page       = new \Think\Page($count,5);
		$show       = $Page->show();
		$list=$db->where($where)->limit($Page->firstRow.','.$Page->listRows)->order('id DESC')->select();
		//
		$items=array();
		if ($list){
			foreach ($list as $item){
				array_push($items,array('id'=>$item['id'],'name'=>$item['title'],'linkcode'=>'{siteUrl}/index.php/Wap/GoldenEgg/index?token='.$this->token.'&wecha_id={wechat_id}&id='.$item['id'],'linkurl'=>'','keyword'=>$item['keyword']));
			}
		}
		//
		$this->assign('list',$items);
		$this->assign('page',$show);
		$this->display('detail');
	}
	public function GreetingCard(){
		$moduleName='GreetingCard';
		$this->assign('moduleName',$this->modules[$moduleName]);
		$db=M('greeting_card');
		$where=$this->where;
		$where['type']=5;
		$count      = $db->where($where)->count();
		$Page       = new \Think\Page($count,5);
		$show       = $Page->show();
		$list=$db->where($where)->limit($Page->firstRow.','.$Page->listRows)->order('id DESC')->select();
		//
		$items=array();
		if ($list){
			foreach ($list as $item){
				array_push($items,array('id'=>$item['id'],'name'=>$item['title'],'linkcode'=>'{siteUrl}/index.php/Wap/GreetingCard/index?token='.$this->token.'&wecha_id={wechat_id}&id='.$item['id'],'linkurl'=>'','keyword'=>$item['keyword']));
			}
		}
		//
		$this->assign('list',$items);
		$this->assign('page',$show);
		$this->display('detail');
	}
	public function Vote(){
		$moduleName='Vote';
		$this->assign('moduleName',$this->modules[$moduleName]);
		$db=M($moduleName);
		$where=$this->where;
		$count      = $db->where($where)->count();
		$Page       = new \Think\Page($count,5);
		$show       = $Page->show();
		$list=$db->where($where)->limit($Page->firstRow.','.$Page->listRows)->order('id DESC')->select();
		//
		$items=array();
		if ($list){
			foreach ($list as $item){
				array_push($items,array('id'=>$item['id'],'name'=>$item['title'],'linkcode'=>'{siteUrl}/index.php/Wap/Vote/index?token='.$this->token.'&wecha_id={wechat_id}&id='.$item['id'],'linkurl'=>'','keyword'=>$item['keyword']));
			}
		}
		//
		$this->assign('list',$items);
		$this->assign('page',$show);
		$this->display('detail');
	}
	public function Shop(){
		$moduleName='Shop';
		$this->assign('moduleName',$this->modules[$moduleName]);
		$db=M('ProductCat');
		$where=array('dining'=>0,'token'=>$this->token);
		$count      = $db->where($where)->count();
		$Page       = new \Think\Page($count,5);
		$show       = $Page->show();
		$list=$db->where($where)->limit($Page->firstRow.','.$Page->listRows)->order('id DESC')->select();
		//
		$items=array();
		if ($list){
			foreach ($list as $item){
				array_push($items,array('id'=>$item['id'],'name'=>$item['name'],'linkcode'=>'{siteUrl}/index.php/Wap/Store/products?token='.$this->token.'&wecha_id={wechat_id}&catid='.$item['id'],'linkurl'=>'','keyword'=>'商城'));
			}
		}
		//
		$this->assign('list',$items);
		$this->assign('page',$show);
		$this->display('detail');
	}
	public function Estate(){
		$moduleName='Estate';
		$this->assign('moduleName',$this->modules[$moduleName]);
		//
		$items=array();
		array_push($items,array('id'=>1,'name'=>'楼盘介绍','linkcode'=>'{siteUrl}/index.php/Wap/Estate/index?token='.$this->token.'&wecha_id={wechat_id}','linkurl'=>'','keyword'=>'微房产'));
		array_push($items,array('id'=>2,'name'=>'楼盘相册','linkcode'=>'{siteUrl}/index.php/Wap/Estate/album?token='.$this->token.'&wecha_id={wechat_id}','linkurl'=>'','keyword'=>'微房产'));
		array_push($items,array('id'=>3,'name'=>'户型全景','linkcode'=>'{siteUrl}/index.php/Wap/Estate/housetype?token='.$this->token.'&wecha_id={wechat_id}','linkurl'=>'','keyword'=>'微房产'));
		array_push($items,array('id'=>4,'name'=>'专家点评','linkcode'=>'{siteUrl}/index.php/Wap/Estate/impress?token='.$this->token.'&wecha_id={wechat_id}','linkurl'=>'','keyword'=>'微房产'));
		$Estate=M('Estate')->where(array('token'=>$this->token))->find();
		$rt=M('Reservation')->where(array('id'=>$Estate['res_id']))->find();
		array_push($items,array('id'=>5,'name'=>'看房预约','linkcode'=>'{siteUrl}/index.php/Wap/Reservation/index?rid='.$Estate['res_id'].'&token='.$this->token.'&wecha_id={wechat_id}','linkurl'=>'','keyword'=>$rt['keyword']));
		$this->assign('list',$items);
		$this->display('detail');
	}
	public function Car(){
		$moduleName='Car';
		$this->assign('moduleName',$this->modules[$moduleName]);
		//
		$thisItem=M('Carset')->where(array('token'=>$this->token))->find();
		$thisItemNews=M('Carnews')->where(array('token'=>$this->token))->find();
		$items=array();
		array_push($items,array('id'=>1,'name'=>'经销车型','linkcode'=>'{siteUrl}/index.php/Wap/Car/brands?token='.$this->token.'&wecha_id={wechat_id}','linkurl'=>'','keyword'=>$thisItem['keyword']));
		array_push($items,array('id'=>2,'name'=>'销售顾问','linkcode'=>'{siteUrl}/index.php/Wap/Car/salers?token='.$this->token.'&wecha_id={wechat_id}','linkurl'=>'','keyword'=>$thisItem['keyword']));
		array_push($items,array('id'=>3,'name'=>'车主关怀','linkcode'=>'{siteUrl}/index.php/Wap/Car/owner?token='.$this->token.'&wecha_id={wechat_id}','linkurl'=>'','keyword'=>$thisItem['keyword']));
		array_push($items,array('id'=>4,'name'=>'车型欣赏','linkcode'=>'{siteUrl}/index.php/Wap/Car/showcar?token='.$this->token.'&wecha_id={wechat_id}','linkurl'=>'','keyword'=>$thisItem['keyword']));
		array_push($items,array('id'=>5,'name'=>'实用工具','linkcode'=>'{siteUrl}/index.php/Wap/Car/tool?token='.$this->token.'&wecha_id={wechat_id}','linkurl'=>'','keyword'=>$thisItem['keyword']));
		array_push($items,array('id'=>6,'name'=>'预约试驾','linkcode'=>'{siteUrl}/index.php/Wap/Car/CarReserveBook?addtype=drive&token='.$this->token.'&wecha_id={wechat_id}','linkurl'=>'','keyword'=>$thisItem['keyword']));
		array_push($items,array('id'=>7,'name'=>'预约保养','linkcode'=>'{siteUrl}/index.php/Wap/Car/CarReserveBook?addtype=maintain&token='.$this->token.'&wecha_id={wechat_id}','linkurl'=>'','keyword'=>$thisItem['keyword']));
		//
		array_push($items,array('id'=>8,'name'=>'最新车讯','linkcode'=>'{siteUrl}/index.php/Wap/Index/lists?classid='.$thisItemNews['news_id'].'&token='.$this->token.'&wecha_id={wechat_id}','linkurl'=>'','keyword'=>$thisItem['keyword']));
		array_push($items,array('id'=>9,'name'=>'最新优惠','linkcode'=>'{siteUrl}/index.php/Wap/Index/lists?classid='.$thisItemNews['pre_id'].'&token='.$this->token.'&wecha_id={wechat_id}','linkurl'=>'','keyword'=>$thisItem['keyword']));
		array_push($items,array('id'=>10,'name'=>'尊享二手车','linkcode'=>'{siteUrl}/index.php/Wap/Index/lists?classid='.$thisItemNews['usedcar_id'].'&token='.$this->token.'&wecha_id={wechat_id}','linkurl'=>'','keyword'=>$thisItem['keyword']));
		array_push($items,array('id'=>11,'name'=>'品牌相册','linkcode'=>'{siteUrl}/index.php/Wap/Photo/plist?id='.$thisItemNews['album_id'].'&token='.$this->token.'&wecha_id={wechat_id}','linkurl'=>'','keyword'=>$thisItem['keyword']));
		array_push($items,array('id'=>12,'name'=>'店铺LBS','linkcode'=>'{siteUrl}/index.php/Wap/Company/map?companyid='.$thisItemNews['company_id'].'&token='.$this->token.'&wecha_id={wechat_id}','linkurl'=>'','keyword'=>$thisItem['keyword']));
		$this->assign('list',$items);
		$this->display('detail');
	}
	public function Medical(){
		$moduleName='Medical';
		$this->assign('moduleName',$this->modules[$moduleName]);
		//
		$thisItem=M('Medical_set')->where(array('token'=>$this->token))->find();
		//$thisItemNews=M('Carnews')->where(array('token'=>$this->token))->find();
		$items=array();
		array_push($items,array('id'=>1,'name'=>'医院简介','linkcode'=>'{siteUrl}/index.php/Wap/Medical/Introduction?token='.$this->token.'&wecha_id={wechat_id}','linkurl'=>'','keyword'=>$thisItem['keyword']));
		array_push($items,array('id'=>2,'name'=>'热点聚焦','linkcode'=>'{siteUrl}/index.php/Wap/Medical/publicListTmp?type=hotfocus&token='.$this->token.'&wecha_id={wechat_id}','linkurl'=>'','keyword'=>$thisItem['keyword']));
		array_push($items,array('id'=>3,'name'=>'医院专家','linkcode'=>'{siteUrl}/index.php/Wap/Medical/publicListTmp?type=experts&token='.$this->token.'&wecha_id={wechat_id}','linkurl'=>'','keyword'=>$thisItem['keyword']));
		array_push($items,array('id'=>4,'name'=>'尖端设备','linkcode'=>'{siteUrl}/index.php/Wap/Medical/publicListTmp?type=equipment&token='.$this->token.'&wecha_id={wechat_id}','linkurl'=>'','keyword'=>$thisItem['keyword']));
		array_push($items,array('id'=>5,'name'=>'康复案例','linkcode'=>'{siteUrl}/index.php/Wap/Medical/publicListTmp?type=rcase&token='.$this->token.'&wecha_id={wechat_id}','linkurl'=>'','keyword'=>$thisItem['keyword']));
		array_push($items,array('id'=>6,'name'=>'先进技术','linkcode'=>'{siteUrl}/index.php/Wap/Medical/publicListTmp?type=technology&token='.$this->token.'&wecha_id={wechat_id}','linkurl'=>'','keyword'=>$thisItem['keyword']));
		array_push($items,array('id'=>6,'name'=>'研发药物','linkcode'=>'{siteUrl}/index.php/Wap/Medical/publicListTmp?type=drug&token='.$this->token.'&wecha_id={wechat_id}','linkurl'=>'','keyword'=>$thisItem['keyword']));
		array_push($items,array('id'=>6,'name'=>'预约挂号','linkcode'=>'{siteUrl}/index.php/Wap/Medical/registered?token='.$this->token.'&wecha_id={wechat_id}','linkurl'=>'','keyword'=>$thisItem['keyword']));
		//

		$this->assign('list',$items);
		$this->display('detail');
	}
	public function School(){
		$moduleName='School';
		$this->assign('moduleName',$this->modules[$moduleName]);
		//
		$thisItem=M('Medical_set')->where(array('token'=>$this->token))->find();
		//$thisItemNews=M('Carnews')->where(array('token'=>$this->token))->find();
		$items=array();
		array_push($items,array('id'=>1,'name'=>'成绩查询','linkcode'=>'{siteUrl}/index.php/Wap/School/qresults?token='.$this->token.'&wecha_id={wechat_id}','linkurl'=>'','keyword'=>$thisItem['keyword']));
		array_push($items,array('id'=>1,'name'=>'食谱列表','linkcode'=>'{siteUrl}/index.php/Wap/School/public_list?type=school&token='.$this->token.'&wecha_id={wechat_id}','linkurl'=>'','keyword'=>$thisItem['keyword']));
		//

		$this->assign('list',$items);
		$this->display('detail');
	}

//外链小工具

	public function OutsideLink(){
		//处理小工具数组文件
			$f = include('./ThinkPHP/Library/Org/Func.links.php');
		//取出分类总汇
			$i=0;
		foreach ($f['func'] as $k=>$v){

			$list[$i]['name'] = $v;
			$list[$i]['code'] = $k;
			$i++;
		}

		$this->assign('list',$list);
		$this->display();
	}

	public function outsideLinkDetail(){
		$c = I('get.c');

		$f = include('./ThinkPHP/Library/Org/Func.links.php');

		$list = $f[$c];
		$this->assign('list',$list);
		$this->display('OutsideLink');

	}

}

?>

redpajama_set_name: RedPajamaGithub


You'll receive Ark9's Tri recorded on high quality cassette decks to black chrome cassette tape, packaged in clear cases with double-sided, full-colour printing on J-card, and a 133 x 173 mm. card printed on high quality, 300 g. paper; all inside a numbered cardboard box with cassette-holder. You will also receive your digital download code, which you can use to download the music as MP3.


text:
Rocketman Lands as a Musical Fantasy Film
Per Matt For years, Elton John has been trying to bring his story of seeking an identity to the big screen, and with Rocketman, it was mission accomplished. So, is his life story worthy of any cinematic awards?
Eddie Murphy is Dynamite as Dolemite!
Per Matt It has been a long time since I thought, "Eddie Murphy is dynamite in this big-screen role." Correction. It's been a VERY long time since I have last imagined that phrase. But here it is, in 2019, and… Continue Reading →
Tarantino Gets Nostalgic With Hollywood in Once Upon a Time
Per Matt Once Upon a Time … in Hollywood is a good — not great — movie. It isn't Quentin Tarantino's best film, but it's still pretty good. There's a reason so many actors continuously fight to work with QT,… Continue Reading →
Is Frozen 2 Good or Great?
Six years ago, Disney opened a whole new world for fans when Frozen was released upon the masses. The film was widely acclaimed as one of, if not the best, Disney film of all time. It had all the marks… Continue Reading →
Rick and Morty's Return Means All's Well in the World
Just in case you've been hiding under a rock for 770 days, it's been two long, very long years since the last new episode of Rick and Morty aired. Several days ago, that terrible record ended with the season premiere… Continue Reading →
Get Shorty Burns Down Its Past Before Rebuilding Season 3
Per Matt Hollywood loves a comeback story — especially if it's full of revenge! Season 3 of Get Shorty seems to follow that storyline arc, satirizing show business and definitely bringing darkness to this black comedy. Just don't expect an… Continue Reading →
What's in Store for AMC's FearFest?
Each year, I patiently await October's arrival for multiple reasons and this year, I was especially curious to see what AMC's FearFest had in store for fans in the mood for some Halloween scares.
The Walking Dead Attempts to Silence the Whisperers in Season 10
If you've seen any of the previews for Season 10, you'd know two things: The Walking Dead is still around (despite many of its previously featured main characters being killed off) and the season premiere has finally arrived — per… Continue Reading →
Demons, Dead Animals and Rock 'n' Roll Royalty at the Nashville Film Festival
Per Matt My second day at the 2019 Nashville Film Festival was a doozy. Not only did I make up for lost time, having missed two-and-a-half days of films, but I had to work from a screening schedule that was… Continue Reading →

redpajama_set_name: RedPajamaCommonCrawl


text:
Five dead, thousands affected in Habagat
Photo by Rappler
As of Sunday, Five people have been killed in the Philippines and tens of thousands have fled from floods caused by heavy rains.
According to civil defense officials, Manila and nearby provinces should expect more heavy rains in the next few days. The officials warned residents to be prepared since as of press time, 24000 are in school and government buildings, taking refuge.
"We are expecting more low-lying areas to experience flooding," National Disaster Risk Reduction and Management Council spokeswoman Romina Marasigan said.
"Those who are already in evacuation centers should stay there until the weather improves," she added.
Among those who evacuated were 9,000 residents affected by the Marikina river flooding on Saturday, August 13.
The council said three Manila slum residents were crushed to death Saturday by walls that collapsed in the floods.
In Panay, a man drowned crossing a river on Wednesday. On Friday, a body was retrieved from a Manila canal, the cause of death is under investigation.
On Monday, August 8, a fisherman went missing in Marinduque, while a man was injured by falling rocks at a highway east of Manila on Friday.
In all, more than 70,000 people have had their houses swamped by floodwaters, the council said, though most residents opted not to leave their homes. MJM
Source: Rappler
Five dead, thousands affected in Habagat Reviewed by Kristian S. on 15 August Rating: 5


Carnoustie Country is where golf has been played for more than 450 years. It is a place where golfers seeking adventures embrace the challenge of the links, take a gentle stroll through stunning parkland and indulge in the beauty of heathland courses.
From the glens of the glorious Angus and Perthshire countryside to the rugged beauty of Scotland's east coast, Carnoustie Country comprises of 34 golf courses, a host of cosy pubs and many welcoming places to stay, all within an hour's drive.
Golf in Scotland is rarely as beautiful, diverse or as easy to get to. Carnoustie Country is located just 45 minutes from St Andrews and is ideally situated for Dundee, Edinburgh, Glasgow and Aberdeen airports.
With golfing history around every corner, Carnoustie Country is a land of golf and discovery that is forever changing.


text:
Breweries have increasing presence in C-U
Michael Miller, Triptych brewery's sales representative pours a taster glass of their special Pygmalion Pilsner created for the Pygmalion Festival in Champaign-Urbana that happened last month.
Tyler Courtney | The Daily Illin
Chris Knight, owner of the Blind Pig franchises in Champaign, stands in front of the door to his new production facility that will allow a larger production of his beers that will then be bottled and sold outside of the brew-pub.
By Susan Szuch
The C-U community can expect to see a new addition to the Urbana bar lineup, as well as expansions to already existing breweries in Champaign and Savoy.
Sipyard is an open-air beer garden located in the space called AirUrbana between Flying Machine Coffee, at 208 W. Main StreetJT and [co][lab], at 206 W. Main StreetJT. Red shipping containers dominate the area, one of which will be used as a concession area to serve beer, while the others are still available for other retailers to use.
Carl Catedral, one of the owners of SipyardJT, was inspired to start the project to provide more spaces for people to gather in Urbana. He hopes the project will provide the community with an environment where people can "have fun and create positive memories of living in our Midwest community."
"(We want to) bring interesting places to the community," Catedral said. "Downtown Urbana can be a place that has an urban feel — not that we're trying to urbanize in a specific way — but inspire people to see it in a different way and feel excited about what's happening here and participate in it. Through that, I hope we can inspire them to do things, also."
Another one of the ways Sipyard hopes to contribute to the community is by serving local beers.
"I think, in general, we're passionate about keeping things local. As business owners, we're supporting other local business owners. Even if you're paying a little bit more for stuff, that money is staying in the town," Catedral said. "If money is staying in the community, in the town, that money is helping infrastructure grow."
Catedral added that they want to be a part of that local support through their beer.
Sipyard is not the only place that contributes to the community through their plan to serve local beer. Bars like Black Dog Smoke & Ale House and The Canopy Club serve beer made by Savoy-based brewpub, (a combination of a brewery and a bar) TriptychJT. Triptych is currently undergoing construction to put in an automated canning line so they can increase production and expand where they provide their beers.
The almost three-year-old brewpub offers anywhere from 10 to 12 different types of beers on average. Owner Anthony BenjaminJT said that in the time they've been open, they've brewed around 200 different beers.
"A lot of times, if you blink, you'll miss two or three beers down here. Every week, two or three new beers come on draft," Benjamin said. "If a beer is really popular, which we measure by sales and customer feedback, we'll put it back on again."
Much of the inspiration for the beers Triptych brews comes from the seasons and weather, as well as different ingredients that they come across.
"Sometimes it's just random ingredients get dropped on our laps, we had peaches get dropped off here from Prairie Fruit Farms, which is a goat farm in Urbana. We're making a special beer with those soon," Benjamin said. "Sometimes it's apple cider from Curtis Orchard. It really depends on what we might find, or what somebody brings to us or suggests."
The Blind Pig is another brewpub currently looking to expand its reach. Started by owner Chris Knight in 1990JT, as a bar in the space where Cowboy Monkey currently occupies, The Blind Pig has expanded to three locations since then. The main location, The Blind Pig Co. on Walnut Street, as well as the brewpub on Neil Street and the expansion of the brewpub.
Knight has been working for the last 15 years to add a brewery to The Blind Pig's lineup.
An adjunct professor in chemistry who came to the University to do post-doc work, Knight saw an opportunity when he first came to Champaign to educate people on beer, something he did by serving beers like Guinness and Bass on draft when the norm had been mainly domestic beers like Budweiser or Pabst Blue Ribbon. Eventually, as the demand for craft beer increased, Knight came up with the idea to start his own craft beer brewery in Champaign, especially given the fact that the community's water comes from the Mahomet Aquifer, one of the purest sources of water in the United States.
"So put together the fact that we have good water and that there's a lot of people who like craft beer, and it should be obvious that you should start your own brewery," Knight said. "And it's been over 15 years that I've been trying to organize that."
COVID-19 Features
Students express concern about Omicron impact on spring semester
Features Top Stories
Humans of CU: Kevin King, the saxophone king
Students, staff comment on spring semester guidelines
University alumni set to appear on 'Shark Tank'


The Provider Enrollment Specialist is primarily responsible for follow up with the carriers to ensure the application has been received, identify any deficiencies and help secure the provider numbers. Responsibilities include notifying billing center for reviewing, researching and resolving DMS (claim denials associated to Provider Enrollment issues)/provider hold issues each week.
◊ Overtime may be required; Some training and seminar attendance may require overnight travel.


text:
Q: Рисование в C# Значит, так. Рисую на форме с помощью Graphics. Хочу передать объект Graphics в другой класс, в котором будет производиться отрисовка, то есть там саму форму уже видно не будет. Но надо откуда-то взять ширину и высоту "рисовальной" области. Откуда?
A: Свойство Graphics.VisibleClipBounds

redpajama_set_name: RedPajamaStackExchange


text:
"""The tests for the Demo component."""
from contextlib import suppress
import json
import os

import pytest

from homeassistant.components.demo import DOMAIN
from homeassistant.components.device_tracker.legacy import YAML_DEVICES
from homeassistant.components.recorder import get_instance
from homeassistant.components.recorder.statistics import list_statistic_ids
from homeassistant.helpers.json import JSONEncoder
from homeassistant.setup import async_setup_component

from tests.components.recorder.common import async_wait_recording_done

@pytest.fixture(autouse=True)
def mock_history(hass):
    """Mock history component loaded."""
    hass.config.components.add("history")

@pytest.fixture(autouse=True)
def demo_cleanup(hass):
    """Clean up device tracker demo file."""
    yield
    with suppress(FileNotFoundError):
        os.remove(hass.config.path(YAML_DEVICES))

async def test_setting_up_demo(hass):
    """Test if we can set up the demo and dump it to JSON."""
    assert await async_setup_component(hass, DOMAIN, {DOMAIN: {}})
    await hass.async_block_till_done()
    await hass.async_start()

    # This is done to make sure entity components don't accidentally store
    # non-JSON-serializable data in the state machine.
    try:
        json.dumps(hass.states.async_all(), cls=JSONEncoder)
    except Exception:  # pylint: disable=broad-except
        pytest.fail(
            "Unable to convert all demo entities to JSON. "
            "Wrong data in state machine!"
        )

async def test_demo_statistics(hass, recorder_mock):
    """Test that the demo components makes some statistics available."""
    assert await async_setup_component(hass, DOMAIN, {DOMAIN: {}})
    await hass.async_block_till_done()
    await hass.async_start()
    await async_wait_recording_done(hass)

    statistic_ids = await get_instance(hass).async_add_executor_job(
        list_statistic_ids, hass
    )
    assert {
        "has_mean": True,
        "has_sum": False,
        "name": None,
        "source": "demo",
        "statistic_id": "demo:temperature_outdoor",
        "unit_of_measurement": "°C",
    } in statistic_ids
    assert {
        "has_mean": False,
        "has_sum": True,
        "name": None,
        "source": "demo",
        "statistic_id": "demo:energy_consumption",
        "unit_of_measurement": "kWh",
    } in statistic_ids


text:
Children's & Teenage > Hobbies & interests > Literature, books & writers
Children's & Teenage > Hobbies & interests > Drama & performing > Playscripts
Children's & Teenage > Education > English literature > School editions of Shakespeare
Short, Sharp Shakespeare Stories: The Tempest - Short, Sharp Shakespeare Stories (Hardback)
Tom Morgan-Jones (illustrator), Anna Claybourne (author)
Be not afeard, the isle is full of noises... A powerful storm, a dramatic shipwreck, an enchanted island, a sorcerer's daughter and a handsome prince... Discover the magical story at the heart of The Tempest, one of Shakespeare's best-loved plays.
The age-appropriate text in Short, Sharp Shakespeare Stories: The Tempest introduces readers to the play by re-telling the story in modern English. It's an ideal introduction to Shakespeare for children of 9 and above, and perfect for fans of the Tony Ross and Andrew Matthews series Shakespeare Stories.
The book also contains information about the background to The Tempest, its major themes, language, the Globe theatre, and Shakespeare's life during the time he was writing the play, so is a useful resource for project work, or for anyone studying the play itself. Magic, and its meaning in 16th century England, are also examined.
Anna Claybourne's concise, witty text really brings out the humour and the drama of the stories, rendering them as relevant today as they were in Shakespeare's time. Comparisons with themes in modern life: love, revenge, family relationships, political power struggles, etc., serve to reinforce this.
The text is supported by Tom Morgan-Jones' fantastic artwork, giving the series real visual appeal.
Short, Sharp Shakespeare Stories allow children today to be as enthralled by Shakespeare's tales as audiences were 400 years ago. Publishing to coincide with the 450th anniversary of Shakespeare's birth, they are the ideal resource for project work connected to this, or to Shakespeare Week 2015. Other titles in the series include Macbeth, A Midsummer Night's Dream, Romeo and Juliet, Much Ado About Nothing and Hamlet.
Nellie Bly and Investigative Journalism for Kids
Ellen Mahoney
How To Be A Young #Writer
The Summoner's Handbook
Taran Matharu
Nicholas Tucker
Robert Burns and All That
Allan Burnett
Sixteen String Jack & the Garden of Adventure
Tom Pow
Such Stuff: A Story-maker's Inspiration
Maggie Fergusson
Aoife Walsh
So You Think You Know: Enid Blyton's Famous Five


Microneedling with PRP is a proven and effective technique for skin rejuvenation.
This medical therapy uses very fine needles to create small puncture wounds in the skin. These micro channels allow the penetration of stem cells into the deeper layers of the skin.
Microneedling is not to be confused with a dermal roller used by aestheticians; it is a medical procedure.


text:
James Lynn Hoard (December 28, 1905 – April 10, 1993) was an American chemist, a member of the Manhattan Project.

 Hoard was internationally recognized for his research of boron. Linus Pauling, a Nobel Prize laureate, said that Hoard "contributed significantly to ... the chemistry of certain elements such as boron, and the structure of regions of hemoglobins where oxygen molecules are bonded to iron."

Hoard was also notable for his work on the Manhattan project where he overcame some important challenges with the uranium compounds.

Hoard was a member of the National Academy of Sciences, a recipient of the award for Distinguished Service in the Advancement of Inorganic Chemistry from the American Chemical Society, a Guggenheim fellow.
The New York Times called him "an expert in crystallography whose work helped to explain crystalline and molecular structures".

Career
Hoard received a doctorate in chemistry from the California Institute of Technology in 1932. He accepted a faculty position at the Cornell University in 1936, was promoted to full professor in 1942, and advanced to emeritus status in 1971.

References

External links

 Robert E. Hughes, "James Lynn Hoard", Biographical Memoirs of the National Academy of Sciences (1998)

1905 births
1993 deaths
20th-century American chemists
Manhattan Project people
Weapons scientists and engineers
Members of the United States National Academy of Sciences
California Institute of Technology alumni
Cornell University faculty

redpajama_set_name: RedPajamaWikipedia


Pediatric Dentist - Tyler, Longview and Jacksonville, TX - Culberson R. Boren, D.D.S.
Dr. Culberson Boren graduated from South Garland High in 1974 and went on to Baylor College of Dentistry where he specialized in pediatric dentistry. Shorty after that he moved to Tyler and has been practicing for over 25 years.
Dr. Ming is our new full time associate dentist. She attended dental school at New York University where she found her joy of working with children. She has been practicing here in East Texas since 2009 and we are happy to have her join our dental team.
Copyright © 2009 Culberson R. Boren. - All Rights Reserved.
Pediatric Dentist serving infants, children and teens in Tyler, Longview and Jacksonville, TX.


text:
Abdalla: Playing hard is key
The Frogs will play their final two home games of the 2005 season when they host Nevada-Las Vegas and San Diego State this weekend at Garvey-Rosenthal Stadium.Head coach Dan Abdalla said he wants to treat the game against UNLV like any other game, even though he served as the Rebels head coach from 2000-2004.
"It's just going to be another game," Abdalla said. "They're going to play hard, we're going to play hard and it's just going to come down to which team will be able to execute."
Abdalla said nothing will change about the Frogs' game this weekend, even though the season is winding down.
"We haven't changed anything from what we've been doing all year," Abdalla said. "We're doing things about the same. This last weekend was one of the hardest road trips in the country, and we didn't quite step up to the challenge. Now, we're back on our home ground, and we just need to be more efficient offensively, and if we give better effort, we'll be in good shape."
Abdalla said the team needs to stay more focused.
"We just let some things affect us that we didn't have control over," Abdalla said. "We know that if we play hard, we're going to be competitive in games, so the biggest key for us it to make sure we're playing hard in every game. This last road trip had some things that made us distracted and we weren't as sharp as we needed to be to be competitive."
Abdalla said the team needs to forget the past and focus on the future.
"We played tough against Utah, and I think that kind of took as down a little bit in the second game," Abdalla said. "We just need to get over it and go on a game-to-game basis and not dwell on what went on in the past, whether it was a win or a loss."
Junior midfielder Kim Thompson said she thinks the team will come out to play in its final homestand.
"I think after losing this last weekend, we'll come out this weekend ready to win," Thompson said. "Losing isn't fun, and we want to even up our conference record. I think it will be a good game if we come out and play our best with intensity. This weekend is our last two home games, and home is a lot better environment, so I think it'll be a good match."
Thompson said the team needs to play aggressively.
"We just need everyone to give it their best because we all work off each other," Thompson said. "As long as we don't play scared or intimidated, and play our best, then I think we have a chance to win conference and go on."
Thompson said the team has figured out what its level of play has to be in order to win.
"We played Brigham Young already, which is like the best team in the conference, so we know what we're up against so I think we can do it (advance into the conference tournament)," Thompson said.
Junior defender Breanne Kaldheim said teamwork is key to the team's success.
"We need to get better organization and communication and get everyone on the same page, while motivating people at the same time as one group," Kaldheim said. "We need to play hard all the time, and with heart."
The team will play UNLV Friday and San Diego State on Sunday at Garvey-Rosenthal Stadium.
Previous articleNews Brief
Next articleFree fallin'


제로부터 한걸음은 용기가 필요해 바뀌고싶은 Step! All right!
ZERO to ONE, ZERO to ONE, ZERO to ONE…STEP! ZERO to ONE, Steppin' my heart!
AERO to ONE, ZERO to ONE, ZERO to ONE...STEP!
ZERO to ONE, Steppin' my heart!
헤메여도 꽃은 아침의 빛을 바라고있어, 피는거야!
ZERO to ONE, ZERO to ONE, ZERO to ONE...STEP!
ZERO to ONE Steppin' my heart!
똑바로 달려가는것. 그런건 호노카한테만 있는 것 일지도 몰라요.


Pocket Pinching Health: Tips For Clean Eating On A Budget. | AfroMadu.
Pocket Pinching Health: Tips For Clean Eating On A Budget.
BlackHealth365 presents clean eating on a budget! Here is a list of tips and tricks to stay well and save money while doing it!
The first and most important tip to eating healthy on a budget is planning! Plan your meals and write down your list of needs before shopping. Prioritize your list of needs by what you absolutely must buy at the top of the list and the items that can be spared if needed at the bottom. Organize by order of importance. This mean things like fresh fruits/veggies towards the top, chips & granola at the bottom. And most importantly, stick to what's on your list!
Check to see what sales are being offered online or in the paper at whatever grocery store/market you'll be shopping at. It helps you better plan when you know what you're going to buy in addition to how much it will cost for easier budgeting.
3) Buy in bulk. Items such as rice, beans, and foods/drinks by the case typically come at a discounted price and can be stored to last you a longer time. Bulk = more bang for your buck!
4) Don't be scared of frozen produce. They aren't as aesthetically appealing or juicy as fresh as what you'd get fresh at the market, but most frozen produce is picked and stored at peak ripeness, which means they contain the same nutritional benefit. If frozen produce is not for you, buy local. This means going to farmers markets. Locally grown produce is cheaper in cost than what you find in stores.
5) Reducing meat intake and focusing your diet to be more whole foods based will not only benefit your pockets, but your health as well. Buy cheaper proteins like eggs, frozen fish, legumes & nuts instead of meat.
8) So you've made it out of the store with everything you needed and only what was on your list. You even stayed within your budget. Congratulations! Now it's time to meal prep! Cut, bag, and/or freeze produce as needed to prolong usage. Make meals you planned out for the week and put in separate containers for easy grab-and-go access. Bag snacks like trail mixes, cut fruit, and veggie chips to snack on in between meals. This will speed up your metabolism, which will aid in weight loss, and more importantly, lessen the likelihood of you spending unnecessarily of junk food from snack stands/vending machines.
Be realistic. Coming into a healthier lifestyle a compromise of your time and sometimes personal expenses. Consider the expenses & habits that can be cut or reduced to accommodate this newly beneficial lifestyle. See it as the ultimate investment in yourself. You're worth both the time and money.
Plan. Stay organized. Stick to your list of needs. Prioritize. Buy smart. Buy locally. Buy in season. Buy organic when necessary. Prepare meals in advanced. Freeze the leftovers.
We want you to eat well while saving money doing so. Be consistent. All great changes take time as well as sacrifice. Again, remember you're worth the investment.
Previous PostBeloved: Week 1 Synopsis.Next PostNatural Hair Tips for the Summer.


text:
Cloud-Powered Services Deliver New Revenue and Core Business Agility for SMB Travel Insurance Provider Seven Corners
Transcript of a sponsored BriefingsDirect podcast on the benefits achieved from a private cloud infrastructure, and how that makes makes IT into a new revenue center for the business.
Listen to the podcast. Find it on iTunes/iPod. Download the transcript. Sponsor: VMware.
Dana Gardner: Hi, this is Dana Gardner, Principal Analyst at Interarbor Solutions, and you're listening to BriefingsDirect.
Today, we present a sponsored podcast discussion on how small-to-medium sized business (SMB) Seven Corners, a travel insurance provider in Indiana, has created and implemented an agile and revenue-generating approach to cloud services.
We'll see how Seven Corners went beyond the typical efficiency and cost conservation benefits of cloud to build innovative business services that generate whole new revenue streams. Stay with us to learn more about how a VMware-enabled cloud infrastructure allowed Seven Corners to rapidly reengineer its IT capabilities and spawn a new vision for its agility and future growth. [Disclosure: VMware is a sponsor of BriefingsDirect podcasts.]
Here to share their story on an SMB's journey to cloud-based business development is George Reed, CIO of Seven Corners Inc., based in Carmel, Indiana. Welcome to BriefingsDirect, George.
George Reed: Thanks, Dana, glad to be here.
Gardner: When you began this journey to transform how Seven Corners does IT, did you have a guiding principle or vision? Was there a stake in the ground that you could steer toward?
Reed: I did. I was brought in specifically to be an innovative change agent to take them from where they were to where they wanted to get as a business. They just weren't there at the time. My vision was to come in, stop the bleeding, pick off the low hanging fruit to step up to the next level, and then build a strategic road map that would not only meet -- but exceed -- the needs of the business, and reach out 5-10 years beyond.
Gardner: How long ago did you join Seven Corners?
Reed: I joined Seven Corners in June of 2010.
Gardner: So a fairly short amount of time.
Reed: Correct, but you're going to find, as we have this discussion, that a lot of things have occurred in a remarkably short amount of time.
Gardner: Is there anything specifically about an SMB that you think enabled such agility? I know it's very difficult in large companies to make such a change in short order. Do you have a certain advantage being smaller?
Authority to move
Reed: You do. If you're in a privately held SMB, your goal is to identify a problem or an opportunity, categorize what it would cost to resolve it or achieve it, and show the return on investment (ROI). If you communicate that in a passionate, effective way with the ownership and the executive group, you come out of the room with authority to move forward. That's exactly what I did.
Gardner: Before we learn more about that approach and process, perhaps you could explain for our listener's benefit what Seven Corners is, how large you are, what you do, and just describe what you are doing as a business.
Reed: Seven Corners started in 1993 as Specialty Risk International, and as we began to grow around the globe with customers in every time zone there is, the company changed its name to Seven Corners.
It started out providing specialty travel insurance, trip cancellation insurance, then began providing third-party administrator, general insurance services, and emergency assistance services around the globe. We have about 800 programs in five major product lines to span hundreds of thousands of members.
The company itself is about 170-175 people. We've been enjoying double-digit growth every year. As a matter of fact, I believe that at the end of February they hit the double-digit growth goal for 2012. So we're going to exceed that as the year goes on. You are going to see the technology has driven some of that growth.
Gardner: Who do you consider your primary customers? Is it travel agencies, or do you go direct to the travelers themselves, or a mixture?
If you communicate that in a passionate, effective way with the ownership and the executive group, you come out of the room with authority to move forward.
Reed: About 50 percent of the business is online. You go to the website to fill out a form to figure out what you need. You buy it right then and there, collect your virtual ID card, and you're on your way.
We have customers that are high-tech companies who are sending their people all over the world. They'll buy, at the corporate level, trip cancellation, trip assistance, and trip major medical insurance.
Then, there are universities and other affinity groups. They have students traveling abroad. We have companies sending people to work in the United States. Then, we are doing benefit management and travel assistance for numerous government agencies, US Department of State, Bureau of Prisons, AmeriCorps, and the Peace Corps as well.
Gardner: And on one side of your business equation, of course, you have these consumers and customers, but you also must have quite a variety of partners, other insurance carriers, for example, medical insurance providers, and so forth. So you need to match and broker services among and between all these?
Multiple carriers
Reed: Correct. We have multiple carriers and do some of the advances around Seven Corners. We've got about four more carriers starting to move business our way. So you have to meet all of their needs, reporting needs, timeliness of service, and support their customers. At the same time, we've got all the individuals and groups that we're doing business with and we are doing it across five different revenue-producing lines of business.
Gardner: Let's move back to what it is that you've done, maybe at a high level, an architecture level. As you had that vision about what you needed, and as you gathered requirements in order to satisfy these business needs, what did you look for and what did you start to put in place?
Reed: The first thing I did is assess what was going on in the server room. On my first day, walking in there and looking around, I saw a bunch of oversized Dell desktops that were buffed up to be servers. There were about 140 of those in there.
I was thinking, "This is 2000-2003 technology. I'm here in 2010. This isn't going to work." It was an archaic system that was headed to failure, and that was one of the reasons they knew they had to change. They could no longer sustain either the applications or the hardware itself.
What I wanted to do was put in an infrastructure that would completely replace what was there. The company had grown to the point where there was so much transactional volume, so many thousands of people hitting the member portals. The cloud started to speak to me. I needed to be serving member portals out on a private cloud. I needed to be reaching out to the 15,000 medical providers around the world that we're talking with to get their claims without them sending paper or emails.
It was an archaic system that was headed to failure, and that was one of the reasons they knew they had to change.
I looked at an integrating partner locally in the Midwest. It's called Netech. I said, "Here is my problem. I know that within four months my major servers that are backing up or providing our insurance applications are going to fail. You can't even get parts on eBay for them anymore. I need you to come back to me in a week with a recommendation on how you understand my problem, what you recommend I do about it, and what it's going to cost, wheels-on, out the door."
Gardner: Just to be clear, did you have a certain level of virtualization already in place at this point?
Reed: No, there was nothing virtual in the building. It was all physical. Netech went away and came back a week later, after looking at the needs and asking a ton of questions, as any good partner would do. They said, "Here's what we think you need to do. You need something that's expandable easily for your compute side. We recommend Cisco UCS. Here is a plan for that.
"You need storage that can provide secure multitenancy, because you've got a lot of different carriers that don't want their information shared. They want to know that it's very secured. We recommend NetApp's FlexPod solution for that.
"And for your virtualization, hub and going to the cloud, we're seeing the best results with VMware's product."
Then, we started with VMware Enterprise, and when it became available, upgraded to vSphere 5.0.
Up and running
They came in with a price, so I knew exactly what it would cost to implement, and they said, they could do it in three months. I went to the owners and said, "You're losing $100,000 revenue a month because of this situation in your server room. You'll pay for this entire project in six months." They said, "Well, get it done." And so we launched. In about two and a half months we were up and running. Our partnership with Netech has had a dramatic impact on speed-to-production for each phase of our virtualization.
Gardner: When you looked at creating a private-cloud fabric to support your application, were these including your internal back-office types of apps? Did you have ERP and communications infrastructure and apps that you needed to support? Clearly, you talked about portals and being able to create Web services and integrate across the business processes, all the above. Did you want to put everything in this cloud or did you segment?
Reed: I wanted to get off the old analog phone system that was there and go to a Cisco Unified Communications Manager, which is a perfect thing to drop into a virtual environment. I wanted to get everybody on the voice-over-IP (VOIP) phones. I wanted to get my call center truly managing 24×7×365, no matter where they were sitting.
I wanted to get users, both customer users, partner users and then the people from Seven Corners to get to where it didn't matter what they were connecting to the Internet with. They could connect to my system and see their data and it would never leave my server, which is one of the beauties of a private cloud, because the data never leaves a secure environment.
Gardner: Did you get a vision to bring all of your apps into this or did you want to segment, sort of was this a crawl-walk-run approach to bringing your apps into this cloud or was this more of a transformation, even shock therapy, to kind of do it all at once to get it done?
That got everybody thinking, "Hey, IT can deliver."
Reed: The server virtualization was a shock therapy, because the infrastructure was very outdated, and any piece of it failing is a failure. It doesn't matter which one it was.
So we took a 144 servers virtual and took all the storage into the NetApp controller, achieving an immediate 50 percent de-duplication rate. And the efficiency in spinning up servers for a development group to support them, was such that we were cutting a ton of manpower that was required to spin those up. Instead of 4-5 days to set up a server for them to work on a new application, it's now 4-5 minutes.
Gardner: So you were fairly smart in thinking, "I've got to find success stories and implement those and that's going to then feed the goodwill and the investment to move across the board."
Reed: Exactly. In the first three days here, inside IT and out in the business, I said, "I need a list by Friday, please, of the top five things we need to keep doing, stop doing, or start doing."
I got great input and then I picked the pain points. That's what I call the low-hanging fruit. We knocked those out the first month, just general technology support. That got everybody thinking, "Hey, IT can deliver." Originally they had a nickname for the department --"The Island of Dr. No." ... No, we can't do this, no, we can't do that.
Getting champions
We said, "Let's find a way to say, "Yes," or at least offer a different solution." When we killed some of those early problems, we ended up getting champions out of opposition. It became very easy to get the company to do business differently, and to put up with the testing, user acceptance process, and training to use different technology services.
Gardner: Sometimes, I hear that culture will trump strategy. It sounds as if in your organization -- maybe because you're an SMB and you can get the full buy-in of your leadership -- you actually were able to make culture into the strategy?
Reed: Absolutely. By changing the culture and getting the departments out there to ask, "Is this stuff you're doing going to help me with this problem?" "Well, yes it will," and then you deliver on that promise.
When you make a promise and you deliver on it, on or ahead of schedule and under budget people begin to believe, they're willing to participate and actively suggest other possible uses with technology that maybe you didn't think of. So you end up with a great technology-business relationship, which had the immediate result for the owners who were out looking to buy an insurance services application or rent one.
They said, "We're a very entrepreneurial company with so many different lines of business that there is nothing out there that would really work for us. We believe in you IT. Build us one." This year we rolled out an application called Access that is so configurable you could run any kind of insurance services through it, whether you're insuring parrots, cars, people, trucks, or whatever.
When you make a promise and you deliver on it, on or ahead of schedule and under budget people begin to believe.
Gardner: Let's learn some more about that. One of the nice things about early successes is that you get that buy-in and the cultural adoption, but you've also set expectations for ongoing success. I suppose it's important to keep the ball rolling and to show more demonstrable benefits.
So when it came to not only repaving those cow paths, making them more efficient, cutting cost, delivering that six-month return on investment, what did you enable? What did you then move forward to to actually create new business development and therefore new revenue?
Reed: By continuing to lower IT cost, when we virtualized the desktops using VMware's View, and then VMware's Horizon which makes it device-independent, it's easier for everybody to work. That had appreciable productivity improvements out in the departments.
At the same time, my apps development group began designing and building an application called AXIS. What this came out of was that when we went to insurance conventions, talked to carriers and asked, "What are the top 10 reasons you want to fire your third-party administrator today?"
Technology was always part of those top 10 answers. So we devised and developed an application that would eliminate those as problems. The result is that this year, since February, we have four insurance carriers that were working with either their own stuff or third-party administrator, big COBOL mainframe monsters that are just so spaghetti-coded and heavy you can never really get out of it.
Already implemented
They see what our tool is doing and they ask these questions. "What are the specs for me to be able to connect to it?" "Well, you have to have an Internet connection and something smarter than a coffee cup." "That's it?" "Yeah, that's it." "Well, what's the price for us to implement your solution?" "None. "It's already implemented. You just import your business."
The jaws drop around the table. "How will I be able to see my data?" "You'll all get in and look at it." "You mean I don't ask for a report?" "You can, but it's easier if you just log and look at your report."
They're flocking in. The biggest challenge is keeping up with the pace of the growing business and that goes back to planning for the future. I planned a storage solution and a compute solution. I can just keep adding blades and adding trays of storage without any outage at all.
Gardner: Pay as you go?
Reed: Yes, and the neat thing is that that the process of closing transactions will run about $7 million in revenue a year. It will cost about $1.5 million to service that revenue. Not a bad profit base for an SMB. And it's because we're going to come in at 45 percent less than their existing service provider, and we're going to provide services that are 100 times better.
Gardner: So if I understand correctly, George, you're saying that you went from being a broker of services, finding insurance carrier services, and then packaging and delivering them to end users, to now actually packaging insurance as a service. You're packaging the ability to conduct business online and packaging that, in addition, to the value-added services for insurance. Does that capture what's happened?
With a solid, virtual, private-cloud solution, the cost of delivering technology services is just very low per-member serviced.
Reed: It does, and providing immediate access to what any stakeholder in that insurance lifecycle needs improves the quality of the end product. It lowers the cost of the healthcare.
We're starting to get into the state Medicaid benefits management as well. We're saying, "You're spending too much." The first slide in the proposal is always, "You're spending too much on Medicaid healthcare. We're going to help you cut it down and we are going to do it right now." You get attention, when you just walk in bold as brass and say that.
With a solid, virtual, private-cloud solution, the cost of delivering technology services is just very low per member service. In insurance, there are only so many ways to improve profit. One is to grow business. We all know that. But, two is to reduce the time and price of processing a claim, reduce the time and price to implement new business and collect the premium.
We've built an infrastructure and now an application platform that does those things. In the old system, the time to process a claim around here was about 30 minutes going through a complex travel medical claim with tons of lines. Now it's about 15 seconds.
Gardner: This is really fascinating. It strikes me that you've sort of defined the future of business. Being an early adopter of technologies that make you agile and efficient means that you're not only passing along the ability to be productive in your traditional business, but you've moved into an adjacency that allows you to then take away from your partners and customers the processes that they can't do as well and embed those into the services that you provide.
When, of course, you can charge back to them at a rate that was lower for them in the first place. You can really grow your definition of being a business within your market.
Reed: That's correct, and you can do this in any industry. There is a talk that I've given a couple of times at Butler University about how you can never stop being small, until you think big. You have to say, "What would it take for me to do that? Everything is on the table. What would it take?"
My boss does that to me and my direct reports as well. "What would it take for us to accomplish this thing by this time? Don't worry about what it is. Just tell me what it would take. Let's see, if we can't do it." That's the philosophy that this company was built on.
By the end of the year, we're not only going to be doing all that kind of service for carriers, but we are going to stand up an instance of AXIS to be software as a service and every small third-party administrator (TPA) in the country is going to have an opportunity to buy seats at this servicing application that is easily configurable to whatever their business rules are.
Gardner: I think what distinguishes you, or characterizes you, is being able to do this because you've been bold in your IT investments and adoption of modernization. Yet also as an SMB, you can be agile and fleet, get the buy-in, and make the decision.
Then, you're also in a brokering role. You're between a group of businesses, the carriers, and customers, so that you're in a hub role within your business and that gives you this opportunity. Those are some interesting takeaways, but let's focus a little bit on the technology, George.
You can never stop being small, until you think big.
What's the platform that you put in place? What are the actual VMware products that you're using? And is there a developing virtuous pattern of benefits? That is to say, is there a whole greater than the sum of the parts at some point in this?
Reed: There definitely is. We're running on vSphere 5.0 and have put in a vCenter Configuration Manager and Operations Manager. We're doing our virtual desktops using the power of ThinApp and VMware Horizon.
Of course, we're a beta user for VMware View. We were just doing a pilot project on that, but the speed was so much better than their actual desktops that the whole company said. "To heck with the pilot. Roll it out." So we ended up rolling it out fairly quickly and aggressively.
Then to make the cloud come to being we got the vCloud Director and vShield in. We're doing a lot of business with the government, and with government agencies we have to be Federal Information Security Management Act (FISMA) compliant which makes HIPAA compliance look kind of easy.
We've got SAS 70 compliance we have to do. By putting in these kinds of technology platforms, we configure it from day one and we're compliant with all the controls that are supposed to be in place.
The other technology that the VMware is living on is the Cisco UCS, and it's all being stored on NetApp FlexPod with data replication. In a few months, it will be live mirror for both compute and the data.
Gardner: How about disaster recovery (DR)? Have you been able to develop some more automated approaches to that as a result of this cloud activity? Is there a sense of reduced risk which, of course, for insurance broker and services provider would be very important?
Reed: Absolutely. It's the first question I get asked every time a due diligence comes in. This year, I've had to get pretty good at due diligences from carriers and big healthcare networks. That's another area we've started branching and taking over.
Site Recovery Manager (SRM) is your friend, because it makes it so easy to say, "We went down at the Carmel location. Well, we've got a live mirror and duplicate compute sitting down at the lifeline. Pull that SRM, direct production to there, rebuild the Carmel site and then SRM will turn it back on in no time at all."
The most time down we could possibly have right now is about a minute-and-a-half, and it's going to be down to seconds, once the live mirror is there.
Gardner: So these folks come to you and say, "You're showing us a price and performance level that you can do these services better than we can." But it also sounds like you can be compliant, face all the various regulations, and develop a sense of no risk.
We looked at a lot of the huge cloud service providers. If you read the fine print of the licensing agreements, they don't actually take full responsibility for the security of their infrastructure and/or your data.
Reed: Correct. I designed the approach based on the things that always made me raise my eyebrow and say, "Yeah, cloud computing." We looked at a lot of the huge cloud service providers. If you read the fine print of the licensing agreements, they don't actually take full responsibility for the security of their infrastructure and/or your data.
Some of them don't even agree that they have to give your data back if you stop working with them. That makes big companies that aren't tech savvy really leery. "Do I really want all of my patients or all of my insured information sitting out there?" We also see things about information breaches everyday in the news.
That's why I went after something that I could put in the US Department of Defense facility and not have a problem. I know there's no chance that I'm going to have a challenge, a data breach, or a data loss. That is the first question on every due diligence questionnaire, data recovery and continuity of operations.
Gardner: Now, you've mentioned the use of View, is that the View 5, the latest version?
Reed: It is. It is.
Gardner: What percentage of your desktops, your users are virtualized on a full desktop experience?
Reed: We've got 99.9 percent. We have one user, a remote user out in Arizona, and we just haven't gotten to her yet, but we're just about to lose her desktop.
Gardner: And how does that now set you up for perhaps moving toward the use of mobile devices? Clearly, you've got some of those interface issues resolved by going fully virtual. Is there a path to allowing choice, even bring your own device (BYOD) types of choice by your users going to new classes of devices?
Reed: We're working on the BYOD program now. A lot of the department heads have been issued devices through our secure wireless in the building. A couple of them have iPads and a couple of them have Android OSes. Several of us with the new Cisco phone systems have the Cisco tablet that's your actual VoIP phone station and your thin client.
To get ready to go to a meeting, I get off the phone, pull the tablet out of the docking station, and into the meeting. I have my desktop right there. I've never logged off. When I need to go home for the night, I take it home, and log in through my wireless. I have my Voice over IP handset, and I'm calling from my desk phone from anywhere in the world.
So we're already doing what I would call a pilot program to prove it out to everybody and get them used to it. Right now, our sales guys love the fact that they just pull that thing out of the docking station and go off to show a client what our software and services really are.
Gardner: It really shows how the technology enables the business and then the business agility enables the business development. It becomes quite an impressive adoption pattern that's really going to a virtuous adoption pattern, I suppose.
A lot of the department heads have been issued devices through our secure wireless in the building.
Reed: The key is that with the BYOD setup, we put a Cisco IronPort secure wireless in the building. Once you're in our network, that's very secured and controlled. Then, we tell anybody who brings in their own device, "Here's what you have to do. These are the steps and encryption levels that you have to do to use your own device on our system."
People in the pilot program are going through that and their device is being signed off on. It comes all the way up to my desk to approve it at this point. I'm sure that down the road, it'll be just the company security officer signing off on it.
But those people are now connecting from wherever with their own device and they have a responsibility to support the device. If their device goes down, they can still log in to their virtual desktop from anywhere through View 5.
Gardner: We all know how empowering it is when you can have it your way, remain within compliance and security parameters, and also delivering on the business processes and requirements that your company sets out for you. It's a really nice combination.
Reed: For people with smartphones and tablets, when they're connecting through VMware Horizon, they get other benefits. If you have to get a new phone, all you do is let Seven Corners know.
Virtual ID cards
They withdraw Horizon and everything attendant to it from the smart device remotely without impacting anything else on it. You take your smartphone down to Verizon, get a new phone, have the stuff that belongs to you transferred over to the new phone come, and that will reinstall.
We're going to be writing Android and iPad applications for our AXIS solution, which will then mean is a traveler doing a backpack tour on the Great Wall of China falls off, breaks his leg, and gets carried off to the medical provider that's in our network -- after he calls our 24×7 assistance center -- we'll use virtual ID cards that could be scanned by the tablet computers.
We're going to send those out to every one of our providers, and they can confirm eligibility right there, give the treatment, submit the claim, watch it auto-adjudicate in our system, and see the payment launched. This makes providers want to work with us, because they know that they are going to get paid and they watch it happen.
Gardner: That's a really impressive story, George, and you've been able to do this in just a couple of years. It's really astonishing. Before we close out, could you provide some advice to other SMBs that have heard your story and can see the light bulbs for their own benefits going off in their heads? Do you have any advice in hindsight from your experience that you would share with them in terms of getting started?
Reed: The key is that you can't get to where you're going if you don't set the vision of what you want to be able to do. To do that, you have to assess where you're at and what the problems are.
You can't get to where you're going if you don't set the vision of what you want to be able to do.
Phase your solutions that you're going to recommend to solve big problems early and get buy-in. And when you've got executive buy-in, you have department heads and users buying in, it's easy to get a lot of stuff done very quickly, because people aren't resisting the change.
Gardner: We've been talking about how travel insurance provider Seven Corners has created and implemented an agile and revenue-generating approach to cloud services. We've seen how as an SMB, Seven Corners has used a VMware-centric infrastructure to rapidly reengineer its IT capabilities and build innovative business services that are generating whole new revenues.
So thanks to our guest, George Reed, CIO of Seven Corners. Thanks so much, George.
Reed: Thanks for having me on.
Gardner: This is Dana Gardner, Principal Analyst at Interarbor Solutions. Thanks to you also, our audience, for joining, and come back next time.
Listen to the podcast. Find it on iTunes/iPod. Download the transcript. Sponsor: VMware
Case Study: Strategic Approach to Disaster Recovery and Data Lifecycle Management Pays Off for Australia's SAI Global
Virtualization Simplifies Disaster Recovery for Insurance Broker Myron Steves While Delivering Efficiency and Agility Gains Too
SAP Runs VMware to Provision Virtual Machines to Support Complex Training Courses
Case Study: How SEGA Europe Uses VMware to Standardize Cloud Environment for Globally Distributed Game Development
Germany's Largest Travel Agency Starts a Virtual Journey to Get Branch Office IT Under Control
Virtualized Desktops Spur Use of 'Bring You Own Device' in Schools, Allowing Always-On Access to Education Resources
Labels: BriefingsDirect, Cloud computing, Dana Gardner, desktop virtualization, George Reed, Interarbor Solutions, mobile tier, Seven Corners, virtualization, VMware
HP Expert Chat Explores How Insight Remote Support...
Learn How Enterprise Architects Can Better Relate ...
Le Moyne College Accelerates IT Innovation with He...
Cloud-Powered Services Deliver New Revenue and Cor...
Data Explosion and Big Data Demand New Strategies ...
Corporate Data, Supply Chains Remain Vulnerable to...


Niki's Originals are a hybrid design made of new, durable Nomex material mixed with recycled reflector and other embellishments. As with all FFTOB Bags, they are made by hand, each one is different!
Made from new tan gear, recycled yellow reflector and red straps.
This bag features 3 pockets on the outside, two secure with Velcro. Each side of this bag has a pocket, one is a radio pocket and the other is just a simple open side pocket. The inside of this bag has one open pocket. The straps are adjustable. The zipper is very heavy duty.