run code in 150+ php & hhvm versions
Bugs & Features
<?php require_once('config.php'); $pagetitle='Nursing Care Services for Old Folks | Nursing Care Centre | '.$sitename; $description=$sitename.' is a highly organized Welfare Program for the busy individuals to help &amp; support them in taking care of their old folks'; $h1='Old Folks Home and Nursing Care Malaysia'; if($_GET['title']){ $pagetitle=$_GET["title"].' | '.$sitename; $h1=$_GET['title']; } //active menu item $active="home"; $styles='.rm2 { border-bottom: 1px solid #ccc;border-top: 1px solid #ccc;margin-top: 5px;display:block;color:#222;font-size:0.9em; }'; $styles.='.rm2:hover { border-bottom: 1px solid rgb(226, 4, 4);border-top: 1px solid rgb(226, 4, 4);color:rgb(226, 4, 4); }'; $styles.='.rpl a { color: rgb(190, 1, 9) !important; } .rpl { background:#ddd;border-radius:10px;text-align:center;transition: all 0.33s ease-in-out 0s;border-radius: 10px 10px 10px 10px;padding: 5px;color: rgb(190, 1, 9) !important;position: relative;font-size: 2.5em;} .rpl:hover { background:#ccc;}'; $styles.='.content-body b { color:#333;}'; $styles.='.addthis-idiv { position:fixed;left:5px;} .addthis_floating_style {left: 10px !important;background: rgba(255,255,255,.6);}'; require_once('header.php'); ?> <div class="home-content"> <div class="homepage-cl-wrapper"> <div class="homepage-cl" id="home-main-cl" style="width:665px;"> <h2> <?php $h21='Give us a chance to provide Noble Care'; if($_GET["hl"]=='my'){ echo translate_my($h21); } else { echo $h21 } ?> </h2> <p style='font-family: sans-serif, Verdana;font-size: 16px;'> <?php /* $intro='<strong style="color:rgb(226, 4, 4)">'.$sitename.'</strong> is {a|really a} trusted name in the field of rehabilitation and holistic {care|treatment|proper care|health care}.<br/>We take care {and provide|and supply|and offer} services to handicapped, {old|aged|older} folks and seriously {ill|sick|unwell} patients. <br/>The retirement living {is a|is really a} vital component of {our|the|our own|each of our|your} social, cultural and {economic|financial|monetary|fiscal|economical} future.<br/> It is not just {an old|a classic|a vintage|a well used|an existing} folk home rather {it is a|it\'s a|this is a|it is just a|this can be a} complex of hospitality, {health care|healthcare|medical care|medical|health}, leisure, life style and personnel well-being and {above all|most importantly|especially|first and foremost|certainly} it is our {social|interpersonal|sociable|cultural|societal}, moral, religious and ethical obligation {to do|to complete|to accomplish|to perform|to try and do} it nicely.'; */ $name='<strong style="color:rgb(226, 4, 4)">'.$sitename.'</strong> '; $intro='is a welfare and humanity services initiative {to help|to assist|to aid|that can help} the deserving members {of our|in our} community. {We have|We now have|We\'ve|We\'ve got|We have now} {started|began|started out|commenced} our services in support of social responsibility program <b>{Govt.|Government} of Malaysia</b>. <br/>{The treatment|Treatments} {and|as well as|and also} rehabilitation plans for the {old|aged} and {sick|sick and retired} {are often|in many cases are} so expensive {and|and also} of {such a|a really} {long|lengthy|very long} duration that even a middle class family {cannot|can\'t|can not|are not able to|are unable to} afford to pay {and to|and also to} continue. <br/>{Our|The} {main|major} focus is to support such {old|aged} people with {severe|serious|extreme|critical} and multiple disabilities, who {need|need to have} special {care|treatment|attention|health care} and {skilled|experienced} services. <br/> We have established <b>six model centers</b> and in near future as an expansion plan we are looking at other cities and small towns to open one hundred new centers. <br/>We are providing a holistic care and quality services to the old and ailing community members. We provide independent living, assisted living and total nursing care. <br/>We take care of normal old folks and people with severe illness, like stroke, coma, on tube feeding, catheters, tracheostomy tube, Gastrostomies, with colostomy bags and people with terminal illness like cancer etc.'; $intro=spin($intro); if($_GET['hl']=='my'){ echo $name.translate_my($intro); } else { echo $name.$intro; } ?> <a style="font-size:15px;" class="rm" href="/about">About <?=$sitename?></a> </p> <a href="/forms/assessment-form"><div class="rpl">Free Future Rehabilitaion Plan for <br/>Your Parents</div></a> </div> <?php /* <div class="sp gradient" style="height:400px;float:left;">&nbsp;</div> <div class="homepage-cl" id="director-cl" style="margin-left:15px;"> <h2>Meet our Director</h2> <p> <img src="images/logo.png" alt="image" style="width:100%;height:100%;margin:0px;" /> coming soon </p> </div> */ $newsq=mysql_query("SELECT * FROM rss ORDER BY id DESC LIMIT 2") or die(mysql_error()); echo '<div class="homepage-cl" id="director-cl" style="margin-left:15px;">'; echo '<h2 style="display:block;">Latest News</h2>'; while($row=mysql_fetch_array($newsq)){ echo '<div style="margin-bottom:30px;padding-left: 20px;width: 230px;border-left: 1px solid #ccc;">'; echo '<span class="h5"><a style="color:rgb(226, 4, 4);" href="'.$row['url'].'">'.$row['title'].'</a></span>'; echo '<p>'.$row['description']; if($row['url']!=='http://www.mynoblecare.com'){ echo '<a class="rm2" href="'.$row['url'].'">Read more</a>'; } echo '</p></div>'; } echo '</div>'; ?> </div> </div> <div class="ic2"> <div class="ic_inner" style="float:left;"> <div style="float:left;padding-right:10px;margin-right:10px;"> <span style="color:rgb(226, 4, 4);font-size:1.5em;font-weight:bold;">Let's talk</span> &nbsp; <strong style="font-size:1.5em;color:#222;padding-bottom:5px;">+6(0)162786993 </strong><span style="height:100%;color:#ccc;font-size:2.5em;"> | </span><span style="font-weight:bold;font-size:1.5em;color:#222;padding-bottom:5px;"><!--email_off--><a style="color:#222;" href="mailto:info@mynoblecare.com">info@mynoblecare.com</a><!--/email_off--> </span> </div> </div> <div style="background:#888;float:right;padding:20px;"> <a target="_blank" title="Find us on Facebook" href="http://www.facebook.com/mynoblecare"><div style="margin-left:10px;margin-right:5px;" class="ic-fb">&nbsp;</div></a> <a target="_blank" title="Find us on Twitter" href="http://twitter.com/mynoblecare"><div class="ic-tw">&nbsp;</div></a> </div> </div> <div class="cls-wrapper"> <div class="cl"> <h2>Care Services</h2> <p> <img src="images/articles/img2.png" alt="care services" style="width:100%;height:100%;margin:0px;" /> Looking for trustworthy Nursing Home to help you take care of your elderly folks?<br/> Find out more about our great Services and Let <?=$sitename?> provide tender loving care to your old folks while you are away on your full time work. <a href="/services">Know more</a> </p> </div> <div class="cl"> <h2>Health Care</h2> <p> <img src="images/articles/img1.png" alt="health care" style="width:100%;height:100%;margin:0px;" /> All or some of the following aged care services can be found at our residences. <ul style="margin-top: -4px;margin-left: 10px;"> <li>Day Care</li> <li>Regular Checkups</li> <li>Physiotherapy sessions</li> <li>Home environment</li> <li>Dietician reviewed meals</li> <li>Social and recreational</li> <li>Indoor and outdoor entertaining areas</li> </ul> <a href="/residential-care-services-pg#residential-care">Know more</a> </div> <div class="cl"> <h2>The Staff</h2> <p> <img src="images/articles/img3.png" alt="friendly staff" style="width:100%;height:100%;margin:0px;" /> The staff at our aged care residences are carefully selected and are proud to provide the highest quality professional aged care services. All Domain Principal residences employ qualified nursing staff who are on duty to provide the best medical assistance. <br/> Our nursing home eager to have a neighborhood feel &amp; Staff members are encouraged to develop relationships with residents. <a href="/noble-staff-and-care-pg#staff">Know more</a> </p> </div> </div> </div> <div class="addthis-idiv"> <!-- AddThis Button BEGIN --> <div class="addthis_toolbox addthis_floating_style addthis_counter_style" style="left:50px;top:50px;"> <a class="addthis_button_facebook_like" fb:like:layout="box_count"></a> <a class="addthis_button_tweet" tw:count="vertical"></a> <a class="addthis_button_google_plusone" g:plusone:size="tall"></a> <a class="addthis_counter"></a> </div> <script type="text/javascript">var addthis_config = {"data_track_addressbar":false};</script> <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-4e7f150e1416cdc7&async=1"></script> <script type="text/javascript"> function initAddThis() { addthis.init() } $(window).load(function(){ initAddThis(); }); </script> <!-- AddThis Button END --> </div> <?php require_once('footer.php'); ?>
Output for 5.3.0 - 5.6.21, 7.0.0 - 7.1.0RC3
Parse error: syntax error, unexpected '}', expecting ',' or ';' in /in/du0XW on line 44
Process exited with code 255.
Output for hhvm-3.10.0 - 3.12.0
Fatal error: syntax error, unexpected '}', expecting ',' or ';' in /in/du0XW on line 44
Process exited with code 255.