Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux indy02.toastserver.com 3.10.0-962.3.2.lve1.5.85.el7.x86_64 #1 SMP Thu Apr 18 15:18:36 UTC 2024 x86_64
User : palandch ( 1163)
PHP Version : 7.1.33
Disable Function : NONE
Directory :  /home/palandch/www/core/cache_back/resource/web/resources/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/palandch/www/core/cache_back/resource/web/resources/3.cache.php
<?php  return array (
  'resourceClass' => 'modDocument',
  'resource' => 
  array (
    'id' => 3,
    'type' => 'document',
    'contentType' => 'text/html',
    'pagetitle' => 'Jonestown Elementary Championing Change',
    'longtitle' => 'Jonestown Elementary Championing Change:',
    'description' => 'Students have a hand in creating a healthier, more livable community',
    'alias' => 'jonestown-elementary-championing-change',
    'link_attributes' => '',
    'published' => 1,
    'pub_date' => 0,
    'unpub_date' => 0,
    'parent' => 2,
    'isfolder' => 0,
    'introtext' => '',
    'content' => '<p>The Chesapeake Bay may be far removed from Jonestown Elementary School, but when the United States Environmental Protection Agency (EPA) ordered 79 municipalities in southcentral Pennsylvania to better manage their stormwater runoff to help improve the health of the Bay, it provided the perfect hook for teaching students about watersheds and the fact that "we all live downstream."</p>
<p><img class="align-left" src="img/sample-story-thumb.jpg" alt="Story" width="175" height="159" align="left" />Jonestown Borough was one of ten urbanized areas in Lebanon County receiving an EPA order to come into compliance with the Clean Water Act—and the principal of Jonestown Elementary School jumped on the opportunity to connect real-world learning with community need. "I believe a school cannot reach its maximum potential in educating students without the help of the community," said Principal Marian Robidas, "and that it is never too early for students to begin learning about their community and how to best serve it."</p>
<p>The Land Choices curriculum provided the framework through which students came to understand the problems associated with runoff—and the types of solutions that communities can put into place. The result? Student-installed rain gardens and rain barrels on school property that are helping the borough prevent polluted runoff from entering local streams—which ultimately helps the Chesapeake Bay.</p>
<p>This community-focused stewardship ethic—and use of the Land Choices curriculum model—has branched out in various ways, and grown to include partnerships with the Northern Lebanon School District Jonestown Borough, Department of Conservation and Natural Resources (DCNR), PSATS, bicycle advocacy groups, and other agencies, organizations, and businesses.</p>
<p>Students are now studying their local waterways, donning hip waders and collecting specimens, which they count and identify to help determine the health of the stream. They’re measuring air quality around the school at times of heavy traffic (drop-off and pick up) and at quieter parts of the day - and gaining an appreciation for the amount of emissions that come from idling cars. They’ve studied the positive health effects of walking various distances. And they’ve been involved in the Safe Routes to School initiative, even securing a grant to promote bicycling safety and provide new helmets to children in need.</p>
<div class="more-info">
<h2>More Information</h2>
<ul>
<li><a href="http://www.stormwaterpa.org/case-studies-all.html?tag=Chesapeake+Bay+watershed&amp;key=case-study-location" target="_blank">StormwaterPA videos on runoff and the Chesapeake Bay <span>»</span></a></li>
<li><a href="http://www.saferoutespa.org/" target="_blank">Safe Routes to Schools Resource Center <span>»</span></a></li>
<li><a href="http://www.whitehouse.gov/champions" target="_blank">Champions of Change <span>»</span></a></li>
</ul>
</div>
<!-- end more info -->
<p> </p>',
    'richtext' => 1,
    'template' => 3,
    'menuindex' => 0,
    'searchable' => 1,
    'cacheable' => 1,
    'createdby' => 1,
    'createdon' => 1349899108,
    'editedby' => 1,
    'editedon' => 1374601128,
    'deleted' => 0,
    'deletedon' => 0,
    'deletedby' => 0,
    'publishedon' => 1349899080,
    'publishedby' => 1,
    'menutitle' => '',
    'donthit' => 0,
    'privateweb' => 0,
    'privatemgr' => 0,
    'content_dispo' => 0,
    'hidemenu' => 0,
    'class_key' => 'modDocument',
    'context_key' => 'web',
    'content_type' => 1,
    'uri' => 'jonestown-elementary-championing-change.html',
    'uri_override' => 0,
    'hide_children_in_tree' => 0,
    'show_in_tree' => 1,
    'properties' => NULL,
    'story-hero' => 
    array (
      0 => 'story-hero',
      1 => 'img/success-stories/succes-story-sample2.jpg',
      2 => 'text',
      3 => NULL,
      4 => 'image',
    ),
    'featured-story' => 
    array (
      0 => 'featured-story',
      1 => 'yes',
      2 => 'default',
      3 => NULL,
      4 => 'checkbox',
    ),
    'story-tags' => 
    array (
      0 => 'story-tags',
      1 => 'communities||civics||change||action',
      2 => 'default',
      3 => NULL,
      4 => 'listbox-multiple',
    ),
    'sidebar' => 
    array (
      0 => 'sidebar',
      1 => '<p class="quote">“I believe a school cannot reach its maximum potential in educating students without the help of the community,” said Principal Marian Robidas, “and that it is never too early for students to begin learning about their community and how to best serve it.”</p>
<p class="quote">On April 25, 2012, Jonestown elementary Principal Marian Robidas was recognized at the White House as a Champion of Change for her innovative approach to improving the quality of life in her community.</p>',
      2 => 'default',
      3 => NULL,
      4 => 'richtext',
    ),
    '_content' => '<html>
<head>
<meta name="google-site-verification" content="NICgehx2flyT-RKkB9Aolo8eYlA6dxk8Q_KwJebnSjk" />
<title>Pennsylvania Land Choices - Jonestown Elementary Championing Change</title>
<link REL="SHORTCUT ICON" HREF="img/favicon.ico">
<link href=\'http://fonts.googleapis.com/css?family=Archivo+Black\' rel=\'stylesheet\' type=\'text/css\'>
<link href=\'http://fonts.googleapis.com/css?family=Archivo+Narrow\' rel=\'stylesheet\' type=\'text/css\'>
<link href=\'http://fonts.googleapis.com/css?family=Francois+One\' rel=\'stylesheet\' type=\'text/css\'>
<link href=\'http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300\' rel=\'stylesheet\' type=\'text/css\'>
<link href="css.css" rel="stylesheet" type="text/css">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript" src="js/jquery.cycle.all.js"></script>
<script type="text/javascript">
$(document).ready(function() {

$("#header li.active img").each(function () {
           var src = $(this).attr(\'src\');
           $(this).attr(\'src\', src.replace("-off", "-on"));
           $(this).parent().parent().removeClass(\'not-active\');
     });     

$("#header li.not-active img").hover(
          function(){this.src = this.src.replace("-off","-on");},
          function(){this.src = this.src.replace("-on","-off");
     });

     $("#sub-interest li.active img").each(function () {
           var src = $(this).attr(\'src\');
           $(this).attr(\'src\', src.replace("-off", "-on"));
     });

     $("#interests li img").hover(
          function(){this.src = this.src.replace("-off","-on");},
          function(){this.src = this.src.replace("-on","-off");
     });

     $("div.parent a").click(function () {           
           $(this).parent().next(\'.child\').toggle(\'slow\');
           $(this).parent().toggleClass(\'open\');
           return false;
     });

     

});

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
</script>
</head>
<body onLoad="MM_preloadImages(\'img/nav-1-on.png\',\'img/nav-2-on.png\',\'img/nav-3-on.png\',\'img/nav-4-on.png\')">
<div id="wrap">

    <div id="header">
    
    		<a href="index.html" title="Pennsylvania Land Choices Home"><img src="img/logo.png" width="297" height="73" alt="Pennsylvania Land Choices Home" id="logo" ></a>
            
            <p>Join The Conversation: <a href="https://www.facebook.com/visitPAparks" title="Facebook" target="_blank"><img src="img/icon-facebook.png" width="20" height="20" alt="Facebook"></a> <a href="https://twitter.com/visitPAparks" title="Twitter" target="_blank"><img src="img/icon-twitter.png" width="20" height="20" alt="Twitter"></a></p>
            
            <ul>
            <li class="not-active [[!If?
   &subject=`2`
   &operator=`EQ`
   &operand=`59`
   &then=`active`
   &else=``
]]"><a href="getting-started.html" title="Getting Started"><img src="img/nav-1-off.png" width="145" height="42" alt="Getting Started"></a></li>
            <li class="not-active [[!If?
   &subject=`2`
   &operator=`EQ`
   &operand=`2`
   &then=`active`
   &else=``
]]"><a href="success-stories.html" title="Success Stories"><img src="img/nav-2-off.png" width="139" height="42" alt="Success Stories"></a></li>
            <li class="not-active [[!If?
   &subject=`2`
   &operator=`EQ`
   &operand=`58`
   &then=`active`
   &else=``
]]"><a href="professional-development.html" title="Professional Development"><img src="img/nav-3-off.png" width="213" height="42" alt="Professional Development"></a></li>
            <li class="not-active [[!If?
   &subject=`2`
   &operator=`EQ`
   &operand=`57`
   &then=`active`
   &else=``
]]"><a href="contact-us.html" title="Contact Us"><img src="img/nav-4-off.png" width="116" height="42" alt="Contact Us"></a></li>
            </ul>
            
    </div>
    <!-- end header -->
    
    <div id="content" class="white">
          <div class="story-hero">
          <img src="/assets/components/phpthumbof/cache/succes-story-sample2.ab56d006c366d70ca66c31ddea0c65ac3.jpg" alt="Story" />      

                    <div>
                    	<h1>Jonestown Elementary Championing Change:</h1>
                        <h2>Students have a hand in creating a healthier, more livable community</h2>
                     </div>         
           </div><!-- end story hero -->    
           
           <div class="page-content">
           	
           	<p>The Chesapeake Bay may be far removed from Jonestown Elementary School, but when the United States Environmental Protection Agency (EPA) ordered 79 municipalities in southcentral Pennsylvania to better manage their stormwater runoff to help improve the health of the Bay, it provided the perfect hook for teaching students about watersheds and the fact that "we all live downstream."</p>
<p><img class="align-left" src="img/sample-story-thumb.jpg" alt="Story" width="175" height="159" align="left" />Jonestown Borough was one of ten urbanized areas in Lebanon County receiving an EPA order to come into compliance with the Clean Water Act—and the principal of Jonestown Elementary School jumped on the opportunity to connect real-world learning with community need. "I believe a school cannot reach its maximum potential in educating students without the help of the community," said Principal Marian Robidas, "and that it is never too early for students to begin learning about their community and how to best serve it."</p>
<p>The Land Choices curriculum provided the framework through which students came to understand the problems associated with runoff—and the types of solutions that communities can put into place. The result? Student-installed rain gardens and rain barrels on school property that are helping the borough prevent polluted runoff from entering local streams—which ultimately helps the Chesapeake Bay.</p>
<p>This community-focused stewardship ethic—and use of the Land Choices curriculum model—has branched out in various ways, and grown to include partnerships with the Northern Lebanon School District Jonestown Borough, Department of Conservation and Natural Resources (DCNR), PSATS, bicycle advocacy groups, and other agencies, organizations, and businesses.</p>
<p>Students are now studying their local waterways, donning hip waders and collecting specimens, which they count and identify to help determine the health of the stream. They’re measuring air quality around the school at times of heavy traffic (drop-off and pick up) and at quieter parts of the day - and gaining an appreciation for the amount of emissions that come from idling cars. They’ve studied the positive health effects of walking various distances. And they’ve been involved in the Safe Routes to School initiative, even securing a grant to promote bicycling safety and provide new helmets to children in need.</p>
<div class="more-info">
<h2>More Information</h2>
<ul>
<li><a href="http://www.stormwaterpa.org/case-studies-all.html?tag=Chesapeake+Bay+watershed&amp;key=case-study-location" target="_blank">StormwaterPA videos on runoff and the Chesapeake Bay <span>»</span></a></li>
<li><a href="http://www.saferoutespa.org/" target="_blank">Safe Routes to Schools Resource Center <span>»</span></a></li>
<li><a href="http://www.whitehouse.gov/champions" target="_blank">Champions of Change <span>»</span></a></li>
</ul>
</div>
<!-- end more info -->
<p> </p>  
                
                
           
           </div><!-- end page-content -->
           
           <div class="sidebar">

           	<p class="quote">“I believe a school cannot reach its maximum potential in educating students without the help of the community,” said Principal Marian Robidas, “and that it is never too early for students to begin learning about their community and how to best serve it.”</p>
<p class="quote">On April 25, 2012, Jonestown elementary Principal Marian Robidas was recognized at the White House as a Champion of Change for her innovative approach to improving the quality of life in her community.</p>
           
           </div>        
           
           <div class="clear"></div>
    
    </div>
    <!-- end content -->
    
    
<div id="footer">
    	<p>PA Land Choices has been developed to provide participants with a basic understanding of community government and the powerful role of citizens who work toward common goals. The engaging activities in the manual provide opportunities to work collectively in teams, gaining knowledge and skills that will be useful for a lifetime. Workshops involve professional planners and other experts to help participants create, sustain and protect the special character or their neighborhoods. It is a lesson on citizenship and the democratic process practiced at one of the most important levels...right in your home town.</p>
<p><a href="contact-us.html" title="Contact Us">Contact Us</a>  |  <a href="terms-of-use.html" title="Terms Of Use">Terms of Use</a></p>
<p class="copyright">Copyright &copy; 2013 Pennsylvania DCNR. All Rights Reserved.</p>
<a href="http://www.dcnr.state.pa.us/index.aspx" target="_blank"><img src="img/footer-img-1.png" width="113" height="80" alt="Pennsylvania Department of Conservation" id="foot-1"></a>
<a href="http://www.conserveland.org" target="_blank"><img src="img/footer-img-2.png" width="87" height="63" alt="Pennsylvania Land Trust Association" id="foot-2"></a>
</div><!-- end footer -->
    
</div><!-- end wrap -->
</body>
</html>',
    '_isForward' => false,
  ),
  'contentType' => 
  array (
    'id' => 1,
    'name' => 'HTML',
    'description' => 'HTML content',
    'mime_type' => 'text/html',
    'file_extensions' => '.html',
    'headers' => NULL,
    'binary' => 0,
  ),
  'policyCache' => 
  array (
  ),
  'elementCache' => 
  array (
    '[[*pagetitle]]' => 'Jonestown Elementary Championing Change',
    '[[$head]]' => '<meta name="google-site-verification" content="NICgehx2flyT-RKkB9Aolo8eYlA6dxk8Q_KwJebnSjk" />
<title>Pennsylvania Land Choices - Jonestown Elementary Championing Change</title>
<link REL="SHORTCUT ICON" HREF="img/favicon.ico">
<link href=\'http://fonts.googleapis.com/css?family=Archivo+Black\' rel=\'stylesheet\' type=\'text/css\'>
<link href=\'http://fonts.googleapis.com/css?family=Archivo+Narrow\' rel=\'stylesheet\' type=\'text/css\'>
<link href=\'http://fonts.googleapis.com/css?family=Francois+One\' rel=\'stylesheet\' type=\'text/css\'>
<link href=\'http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300\' rel=\'stylesheet\' type=\'text/css\'>
<link href="css.css" rel="stylesheet" type="text/css">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript" src="js/jquery.cycle.all.js"></script>
<script type="text/javascript">
$(document).ready(function() {

$("#header li.active img").each(function () {
           var src = $(this).attr(\'src\');
           $(this).attr(\'src\', src.replace("-off", "-on"));
           $(this).parent().parent().removeClass(\'not-active\');
     });     

$("#header li.not-active img").hover(
          function(){this.src = this.src.replace("-off","-on");},
          function(){this.src = this.src.replace("-on","-off");
     });

     $("#sub-interest li.active img").each(function () {
           var src = $(this).attr(\'src\');
           $(this).attr(\'src\', src.replace("-off", "-on"));
     });

     $("#interests li img").hover(
          function(){this.src = this.src.replace("-off","-on");},
          function(){this.src = this.src.replace("-on","-off");
     });

     $("div.parent a").click(function () {           
           $(this).parent().next(\'.child\').toggle(\'slow\');
           $(this).parent().toggleClass(\'open\');
           return false;
     });

     

});

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
</script>',
    '[[UltimateParent]]' => '2',
    '[[$header]]' => '<div id="header">
    
    		<a href="index.html" title="Pennsylvania Land Choices Home"><img src="img/logo.png" width="297" height="73" alt="Pennsylvania Land Choices Home" id="logo" ></a>
            
            <p>Join The Conversation: <a href="https://www.facebook.com/visitPAparks" title="Facebook" target="_blank"><img src="img/icon-facebook.png" width="20" height="20" alt="Facebook"></a> <a href="https://twitter.com/visitPAparks" title="Twitter" target="_blank"><img src="img/icon-twitter.png" width="20" height="20" alt="Twitter"></a></p>
            
            <ul>
            <li class="not-active [[!If?
   &subject=`2`
   &operator=`EQ`
   &operand=`59`
   &then=`active`
   &else=``
]]"><a href="getting-started.html" title="Getting Started"><img src="img/nav-1-off.png" width="145" height="42" alt="Getting Started"></a></li>
            <li class="not-active [[!If?
   &subject=`2`
   &operator=`EQ`
   &operand=`2`
   &then=`active`
   &else=``
]]"><a href="success-stories.html" title="Success Stories"><img src="img/nav-2-off.png" width="139" height="42" alt="Success Stories"></a></li>
            <li class="not-active [[!If?
   &subject=`2`
   &operator=`EQ`
   &operand=`58`
   &then=`active`
   &else=``
]]"><a href="professional-development.html" title="Professional Development"><img src="img/nav-3-off.png" width="213" height="42" alt="Professional Development"></a></li>
            <li class="not-active [[!If?
   &subject=`2`
   &operator=`EQ`
   &operand=`57`
   &then=`active`
   &else=``
]]"><a href="contact-us.html" title="Contact Us"><img src="img/nav-4-off.png" width="116" height="42" alt="Contact Us"></a></li>
            </ul>
            
    </div>
    <!-- end header -->',
    '[[*story-hero:phpthumbof=`w=944&h=276&zc=1`]]' => '/assets/components/phpthumbof/cache/succes-story-sample2.ab56d006c366d70ca66c31ddea0c65ac3.jpg',
    '[[*longtitle]]' => 'Jonestown Elementary Championing Change:',
    '[[*description]]' => 'Students have a hand in creating a healthier, more livable community',
    '[[*sidebar]]' => '<p class="quote">“I believe a school cannot reach its maximum potential in educating students without the help of the community,” said Principal Marian Robidas, “and that it is never too early for students to begin learning about their community and how to best serve it.”</p>
<p class="quote">On April 25, 2012, Jonestown elementary Principal Marian Robidas was recognized at the White House as a Champion of Change for her innovative approach to improving the quality of life in her community.</p>',
    '[[~57]]' => 'contact-us.html',
    '[[~67]]' => 'terms-of-use.html',
    '[[$footer]]' => '<p>PA Land Choices has been developed to provide participants with a basic understanding of community government and the powerful role of citizens who work toward common goals. The engaging activities in the manual provide opportunities to work collectively in teams, gaining knowledge and skills that will be useful for a lifetime. Workshops involve professional planners and other experts to help participants create, sustain and protect the special character or their neighborhoods. It is a lesson on citizenship and the democratic process practiced at one of the most important levels...right in your home town.</p>
<p><a href="contact-us.html" title="Contact Us">Contact Us</a>  |  <a href="terms-of-use.html" title="Terms Of Use">Terms of Use</a></p>
<p class="copyright">Copyright &copy; 2013 Pennsylvania DCNR. All Rights Reserved.</p>
<a href="http://www.dcnr.state.pa.us/index.aspx" target="_blank"><img src="img/footer-img-1.png" width="113" height="80" alt="Pennsylvania Department of Conservation" id="foot-1"></a>
<a href="http://www.conserveland.org" target="_blank"><img src="img/footer-img-2.png" width="87" height="63" alt="Pennsylvania Land Trust Association" id="foot-2"></a>',
  ),
  'sourceCache' => 
  array (
    'modChunk' => 
    array (
      'head' => 
      array (
        'fields' => 
        array (
          'id' => 8,
          'source' => 1,
          'property_preprocess' => false,
          'name' => 'head',
          'description' => 'The Home Page head content',
          'editor_type' => 0,
          'category' => 1,
          'cache_type' => 0,
          'snippet' => '<meta name="google-site-verification" content="NICgehx2flyT-RKkB9Aolo8eYlA6dxk8Q_KwJebnSjk" />
<title>[[++site_name]] - [[*pagetitle]]</title>
<link REL="SHORTCUT ICON" HREF="img/favicon.ico">
<link href=\'http://fonts.googleapis.com/css?family=Archivo+Black\' rel=\'stylesheet\' type=\'text/css\'>
<link href=\'http://fonts.googleapis.com/css?family=Archivo+Narrow\' rel=\'stylesheet\' type=\'text/css\'>
<link href=\'http://fonts.googleapis.com/css?family=Francois+One\' rel=\'stylesheet\' type=\'text/css\'>
<link href=\'http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300\' rel=\'stylesheet\' type=\'text/css\'>
<link href="css.css" rel="stylesheet" type="text/css">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript" src="js/jquery.cycle.all.js"></script>
<script type="text/javascript">
$(document).ready(function() {

$("#header li.active img").each(function () {
           var src = $(this).attr(\'src\');
           $(this).attr(\'src\', src.replace("-off", "-on"));
           $(this).parent().parent().removeClass(\'not-active\');
     });     

$("#header li.not-active img").hover(
          function(){this.src = this.src.replace("-off","-on");},
          function(){this.src = this.src.replace("-on","-off");
     });

     $("#sub-interest li.active img").each(function () {
           var src = $(this).attr(\'src\');
           $(this).attr(\'src\', src.replace("-off", "-on"));
     });

     $("#interests li img").hover(
          function(){this.src = this.src.replace("-off","-on");},
          function(){this.src = this.src.replace("-on","-off");
     });

     $("div.parent a").click(function () {           
           $(this).parent().next(\'.child\').toggle(\'slow\');
           $(this).parent().toggleClass(\'open\');
           return false;
     });

     

});

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
</script>',
          'locked' => false,
          'properties' => 
          array (
          ),
          'static' => false,
          'static_file' => '',
          'content' => '<meta name="google-site-verification" content="NICgehx2flyT-RKkB9Aolo8eYlA6dxk8Q_KwJebnSjk" />
<title>[[++site_name]] - [[*pagetitle]]</title>
<link REL="SHORTCUT ICON" HREF="img/favicon.ico">
<link href=\'http://fonts.googleapis.com/css?family=Archivo+Black\' rel=\'stylesheet\' type=\'text/css\'>
<link href=\'http://fonts.googleapis.com/css?family=Archivo+Narrow\' rel=\'stylesheet\' type=\'text/css\'>
<link href=\'http://fonts.googleapis.com/css?family=Francois+One\' rel=\'stylesheet\' type=\'text/css\'>
<link href=\'http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300\' rel=\'stylesheet\' type=\'text/css\'>
<link href="css.css" rel="stylesheet" type="text/css">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript" src="js/jquery.cycle.all.js"></script>
<script type="text/javascript">
$(document).ready(function() {

$("#header li.active img").each(function () {
           var src = $(this).attr(\'src\');
           $(this).attr(\'src\', src.replace("-off", "-on"));
           $(this).parent().parent().removeClass(\'not-active\');
     });     

$("#header li.not-active img").hover(
          function(){this.src = this.src.replace("-off","-on");},
          function(){this.src = this.src.replace("-on","-off");
     });

     $("#sub-interest li.active img").each(function () {
           var src = $(this).attr(\'src\');
           $(this).attr(\'src\', src.replace("-off", "-on"));
     });

     $("#interests li img").hover(
          function(){this.src = this.src.replace("-off","-on");},
          function(){this.src = this.src.replace("-on","-off");
     });

     $("div.parent a").click(function () {           
           $(this).parent().next(\'.child\').toggle(\'slow\');
           $(this).parent().toggleClass(\'open\');
           return false;
     });

     

});

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
</script>',
        ),
        'policies' => 
        array (
          'web' => 
          array (
          ),
        ),
        'source' => 
        array (
          'id' => 1,
          'name' => 'Filesystem',
          'description' => '',
          'class_key' => 'sources.modFileMediaSource',
          'properties' => 
          array (
          ),
          'is_stream' => true,
        ),
      ),
      'header' => 
      array (
        'fields' => 
        array (
          'id' => 1,
          'source' => 1,
          'property_preprocess' => false,
          'name' => 'header',
          'description' => 'Global Header',
          'editor_type' => 0,
          'category' => 1,
          'cache_type' => 0,
          'snippet' => '<div id="header">
    
    		<a href="index.html" title="Pennsylvania Land Choices Home"><img src="img/logo.png" width="297" height="73" alt="Pennsylvania Land Choices Home" id="logo" ></a>
            
            <p>Join The Conversation: <a href="https://www.facebook.com/visitPAparks" title="Facebook" target="_blank"><img src="img/icon-facebook.png" width="20" height="20" alt="Facebook"></a> <a href="https://twitter.com/visitPAparks" title="Twitter" target="_blank"><img src="img/icon-twitter.png" width="20" height="20" alt="Twitter"></a></p>
            
            <ul>
            <li class="not-active [[!If?
   &subject=`[[UltimateParent]]`
   &operator=`EQ`
   &operand=`59`
   &then=`active`
   &else=``
]]"><a href="getting-started.html" title="Getting Started"><img src="img/nav-1-off.png" width="145" height="42" alt="Getting Started"></a></li>
            <li class="not-active [[!If?
   &subject=`[[UltimateParent]]`
   &operator=`EQ`
   &operand=`2`
   &then=`active`
   &else=``
]]"><a href="success-stories.html" title="Success Stories"><img src="img/nav-2-off.png" width="139" height="42" alt="Success Stories"></a></li>
            <li class="not-active [[!If?
   &subject=`[[UltimateParent]]`
   &operator=`EQ`
   &operand=`58`
   &then=`active`
   &else=``
]]"><a href="professional-development.html" title="Professional Development"><img src="img/nav-3-off.png" width="213" height="42" alt="Professional Development"></a></li>
            <li class="not-active [[!If?
   &subject=`[[UltimateParent]]`
   &operator=`EQ`
   &operand=`57`
   &then=`active`
   &else=``
]]"><a href="contact-us.html" title="Contact Us"><img src="img/nav-4-off.png" width="116" height="42" alt="Contact Us"></a></li>
            </ul>
            
    </div>
    <!-- end header -->',
          'locked' => false,
          'properties' => 
          array (
          ),
          'static' => false,
          'static_file' => '',
          'content' => '<div id="header">
    
    		<a href="index.html" title="Pennsylvania Land Choices Home"><img src="img/logo.png" width="297" height="73" alt="Pennsylvania Land Choices Home" id="logo" ></a>
            
            <p>Join The Conversation: <a href="https://www.facebook.com/visitPAparks" title="Facebook" target="_blank"><img src="img/icon-facebook.png" width="20" height="20" alt="Facebook"></a> <a href="https://twitter.com/visitPAparks" title="Twitter" target="_blank"><img src="img/icon-twitter.png" width="20" height="20" alt="Twitter"></a></p>
            
            <ul>
            <li class="not-active [[!If?
   &subject=`[[UltimateParent]]`
   &operator=`EQ`
   &operand=`59`
   &then=`active`
   &else=``
]]"><a href="getting-started.html" title="Getting Started"><img src="img/nav-1-off.png" width="145" height="42" alt="Getting Started"></a></li>
            <li class="not-active [[!If?
   &subject=`[[UltimateParent]]`
   &operator=`EQ`
   &operand=`2`
   &then=`active`
   &else=``
]]"><a href="success-stories.html" title="Success Stories"><img src="img/nav-2-off.png" width="139" height="42" alt="Success Stories"></a></li>
            <li class="not-active [[!If?
   &subject=`[[UltimateParent]]`
   &operator=`EQ`
   &operand=`58`
   &then=`active`
   &else=``
]]"><a href="professional-development.html" title="Professional Development"><img src="img/nav-3-off.png" width="213" height="42" alt="Professional Development"></a></li>
            <li class="not-active [[!If?
   &subject=`[[UltimateParent]]`
   &operator=`EQ`
   &operand=`57`
   &then=`active`
   &else=``
]]"><a href="contact-us.html" title="Contact Us"><img src="img/nav-4-off.png" width="116" height="42" alt="Contact Us"></a></li>
            </ul>
            
    </div>
    <!-- end header -->',
        ),
        'policies' => 
        array (
          'web' => 
          array (
          ),
        ),
        'source' => 
        array (
          'id' => 1,
          'name' => 'Filesystem',
          'description' => '',
          'class_key' => 'sources.modFileMediaSource',
          'properties' => 
          array (
          ),
          'is_stream' => true,
        ),
      ),
      'footer' => 
      array (
        'fields' => 
        array (
          'id' => 6,
          'source' => 1,
          'property_preprocess' => false,
          'name' => 'footer',
          'description' => 'Global Footer',
          'editor_type' => 0,
          'category' => 1,
          'cache_type' => 0,
          'snippet' => '<p>PA Land Choices has been developed to provide participants with a basic understanding of community government and the powerful role of citizens who work toward common goals. The engaging activities in the manual provide opportunities to work collectively in teams, gaining knowledge and skills that will be useful for a lifetime. Workshops involve professional planners and other experts to help participants create, sustain and protect the special character or their neighborhoods. It is a lesson on citizenship and the democratic process practiced at one of the most important levels...right in your home town.</p>
<p><a href="[[~57]]" title="Contact Us">Contact Us</a>  |  <a href="[[~67]]" title="Terms Of Use">Terms of Use</a></p>
<p class="copyright">Copyright &copy; 2013 Pennsylvania DCNR. All Rights Reserved.</p>
<a href="http://www.dcnr.state.pa.us/index.aspx" target="_blank"><img src="img/footer-img-1.png" width="113" height="80" alt="Pennsylvania Department of Conservation" id="foot-1"></a>
<a href="http://www.conserveland.org" target="_blank"><img src="img/footer-img-2.png" width="87" height="63" alt="Pennsylvania Land Trust Association" id="foot-2"></a>',
          'locked' => false,
          'properties' => 
          array (
          ),
          'static' => false,
          'static_file' => '',
          'content' => '<p>PA Land Choices has been developed to provide participants with a basic understanding of community government and the powerful role of citizens who work toward common goals. The engaging activities in the manual provide opportunities to work collectively in teams, gaining knowledge and skills that will be useful for a lifetime. Workshops involve professional planners and other experts to help participants create, sustain and protect the special character or their neighborhoods. It is a lesson on citizenship and the democratic process practiced at one of the most important levels...right in your home town.</p>
<p><a href="[[~57]]" title="Contact Us">Contact Us</a>  |  <a href="[[~67]]" title="Terms Of Use">Terms of Use</a></p>
<p class="copyright">Copyright &copy; 2013 Pennsylvania DCNR. All Rights Reserved.</p>
<a href="http://www.dcnr.state.pa.us/index.aspx" target="_blank"><img src="img/footer-img-1.png" width="113" height="80" alt="Pennsylvania Department of Conservation" id="foot-1"></a>
<a href="http://www.conserveland.org" target="_blank"><img src="img/footer-img-2.png" width="87" height="63" alt="Pennsylvania Land Trust Association" id="foot-2"></a>',
        ),
        'policies' => 
        array (
          'web' => 
          array (
          ),
        ),
        'source' => 
        array (
          'id' => 1,
          'name' => 'Filesystem',
          'description' => '',
          'class_key' => 'sources.modFileMediaSource',
          'properties' => 
          array (
          ),
          'is_stream' => true,
        ),
      ),
    ),
    'modSnippet' => 
    array (
      'UltimateParent' => 
      array (
        'fields' => 
        array (
          'id' => 12,
          'source' => 0,
          'property_preprocess' => false,
          'name' => 'UltimateParent',
          'description' => 'Return the "ultimate" parent of a resource.',
          'editor_type' => 0,
          'category' => 0,
          'cache_type' => 0,
          'snippet' => '/**
 * @name UltimateParent
 * @version 1.3
 * @author Susan Ottwell <sottwell@sottwell.com> March 2006
 * @author Al B <> May 18, 2007
 * @author S. Hamblett <shamblett@cwazy.co.uk>
 * @author Shaun McCormick <shaun@modx.com>
 * @author Jason Coward <modx@modx.com>
 *
 * @param &id The id of the document whose parent you want to find.
 * @param &top The top node for the search.
 * @param &topLevel The top level node for the search (root = level 1)
 *
 * @license Public Domain, use as you like.
 *
 * @example [[UltimateParent? &id=`45` &top=`6`]]
 * Will find the ultimate parent of document 45 if it is a child of document 6;
 * otherwise it will return 45.
 *
 * @example [[UltimateParent? &topLevel=`2`]]
 * Will find the ultimate parent of the current document at a depth of 2 levels
 * in the document hierarchy, with the root level being level 1.
 *
 * This snippet travels up the document tree from a specified document and
 * returns the "ultimate" parent.  Version 2.0 was rewritten to use the new
 * getParentIds function features available only in MODx 0.9.5 or later.
 *
 * Based on the original UltimateParent 1.x snippet by Susan Ottwell
 * <sottwell@sottwell.com>.  The topLevel parameter was introduced by staed and
 * adopted here.
 */
if (!isset($modx)) return \'\';

$top = isset($top) && intval($top) ? $top : 0;
$id= isset($id) && intval($id) ? intval($id) : $modx->resource->get(\'id\');
$topLevel= isset($topLevel) && intval($topLevel) ? intval($topLevel) : 0;
if ($id && $id != $top) {
    $pid = $id;
    $pids = $modx->getParentIds($id);
    if (!$topLevel || count($pids) >= $topLevel) {
        while ($parentIds= $modx->getParentIds($id, 1)) {
            $pid = array_pop($parentIds);
            if ($pid == $top) {
                break;
            }
            $id = $pid;
            $parentIds = $modx->getParentIds($id);
            if ($topLevel && count($parentIds) < $topLevel) {
                break;
            }
        }
    }
}
return $id;',
          'locked' => false,
          'properties' => NULL,
          'moduleguid' => '',
          'static' => false,
          'static_file' => '',
          'content' => '/**
 * @name UltimateParent
 * @version 1.3
 * @author Susan Ottwell <sottwell@sottwell.com> March 2006
 * @author Al B <> May 18, 2007
 * @author S. Hamblett <shamblett@cwazy.co.uk>
 * @author Shaun McCormick <shaun@modx.com>
 * @author Jason Coward <modx@modx.com>
 *
 * @param &id The id of the document whose parent you want to find.
 * @param &top The top node for the search.
 * @param &topLevel The top level node for the search (root = level 1)
 *
 * @license Public Domain, use as you like.
 *
 * @example [[UltimateParent? &id=`45` &top=`6`]]
 * Will find the ultimate parent of document 45 if it is a child of document 6;
 * otherwise it will return 45.
 *
 * @example [[UltimateParent? &topLevel=`2`]]
 * Will find the ultimate parent of the current document at a depth of 2 levels
 * in the document hierarchy, with the root level being level 1.
 *
 * This snippet travels up the document tree from a specified document and
 * returns the "ultimate" parent.  Version 2.0 was rewritten to use the new
 * getParentIds function features available only in MODx 0.9.5 or later.
 *
 * Based on the original UltimateParent 1.x snippet by Susan Ottwell
 * <sottwell@sottwell.com>.  The topLevel parameter was introduced by staed and
 * adopted here.
 */
if (!isset($modx)) return \'\';

$top = isset($top) && intval($top) ? $top : 0;
$id= isset($id) && intval($id) ? intval($id) : $modx->resource->get(\'id\');
$topLevel= isset($topLevel) && intval($topLevel) ? intval($topLevel) : 0;
if ($id && $id != $top) {
    $pid = $id;
    $pids = $modx->getParentIds($id);
    if (!$topLevel || count($pids) >= $topLevel) {
        while ($parentIds= $modx->getParentIds($id, 1)) {
            $pid = array_pop($parentIds);
            if ($pid == $top) {
                break;
            }
            $id = $pid;
            $parentIds = $modx->getParentIds($id);
            if ($topLevel && count($parentIds) < $topLevel) {
                break;
            }
        }
    }
}
return $id;',
        ),
        'policies' => 
        array (
          'web' => 
          array (
          ),
        ),
        'source' => 
        array (
        ),
      ),
      'phpthumbof' => 
      array (
        'fields' => 
        array (
          'id' => 10,
          'source' => 0,
          'property_preprocess' => false,
          'name' => 'phpthumbof',
          'description' => 'A custom output filter that generates thumbnails securely with phpThumb.',
          'editor_type' => 0,
          'category' => 0,
          'cache_type' => 0,
          'snippet' => '/**
 * phpThumbOf
 *
 * Copyright 2009-2012 by Shaun McCormick <shaun@modx.com>
 *
 * phpThumbOf is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License as published by the Free
 * Software Foundation; either version 2 of the License, or (at your option) any
 * later version.
 *
 * phpThumbOf is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along with
 * phpThumbOf; if not, write to the Free Software Foundation, Inc., 59 Temple
 * Place, Suite 330, Boston, MA 02111-1307 USA
 *
 * @package phpthumbof
 */
/**
 * A custom output filter for phpThumb
 *
 * @var modX $modx
 * @var array $scriptProperties
 * @var phpThumbOf $phpThumbOf
 * @var string $input
 * @var string|array $options
 *
 * @package phpthumbof
 */
if (empty($modx)) return \'\';
if (!$modx->loadClass(\'modPhpThumb\',$modx->getOption(\'core_path\').\'model/phpthumb/\',true,true)) {
    $modx->log(modX::LOG_LEVEL_ERROR,\'[phpThumbOf] Could not load modPhpThumb class.\');
    return \'\';
}
if (empty($input)) {
    $modx->log(modX::LOG_LEVEL_DEBUG,\'[phpThumbOf] Empty image path passed, aborting.\');
    return \'\';
}
$modelPath = $modx->getOption(\'phpthumbof.core_path\',null,$modx->getOption(\'core_path\').\'components/phpthumbof/\').\'model/\';
require_once $modelPath.\'phpthumbof/phpthumbof.class.php\';
$phpThumbOf = new phpThumbOf($modx,$scriptProperties);

$phpThumbOf->getCacheDirectory();
$phpThumbOf->ensureCacheDirectoryIsWritable();

$thumbnail = $phpThumbOf->createThumbnailObject();
$thumbnail->setInput($input);
$thumbnail->setOptions($options);
$thumbnail->initializeService();
return $thumbnail->render();',
          'locked' => false,
          'properties' => NULL,
          'moduleguid' => '',
          'static' => false,
          'static_file' => '',
          'content' => '/**
 * phpThumbOf
 *
 * Copyright 2009-2012 by Shaun McCormick <shaun@modx.com>
 *
 * phpThumbOf is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License as published by the Free
 * Software Foundation; either version 2 of the License, or (at your option) any
 * later version.
 *
 * phpThumbOf is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along with
 * phpThumbOf; if not, write to the Free Software Foundation, Inc., 59 Temple
 * Place, Suite 330, Boston, MA 02111-1307 USA
 *
 * @package phpthumbof
 */
/**
 * A custom output filter for phpThumb
 *
 * @var modX $modx
 * @var array $scriptProperties
 * @var phpThumbOf $phpThumbOf
 * @var string $input
 * @var string|array $options
 *
 * @package phpthumbof
 */
if (empty($modx)) return \'\';
if (!$modx->loadClass(\'modPhpThumb\',$modx->getOption(\'core_path\').\'model/phpthumb/\',true,true)) {
    $modx->log(modX::LOG_LEVEL_ERROR,\'[phpThumbOf] Could not load modPhpThumb class.\');
    return \'\';
}
if (empty($input)) {
    $modx->log(modX::LOG_LEVEL_DEBUG,\'[phpThumbOf] Empty image path passed, aborting.\');
    return \'\';
}
$modelPath = $modx->getOption(\'phpthumbof.core_path\',null,$modx->getOption(\'core_path\').\'components/phpthumbof/\').\'model/\';
require_once $modelPath.\'phpthumbof/phpthumbof.class.php\';
$phpThumbOf = new phpThumbOf($modx,$scriptProperties);

$phpThumbOf->getCacheDirectory();
$phpThumbOf->ensureCacheDirectoryIsWritable();

$thumbnail = $phpThumbOf->createThumbnailObject();
$thumbnail->setInput($input);
$thumbnail->setOptions($options);
$thumbnail->initializeService();
return $thumbnail->render();',
        ),
        'policies' => 
        array (
          'web' => 
          array (
          ),
        ),
        'source' => 
        array (
        ),
      ),
      'If' => 
      array (
        'fields' => 
        array (
          'id' => 15,
          'source' => 0,
          'property_preprocess' => false,
          'name' => 'If',
          'description' => 'Simple if (conditional) snippet',
          'editor_type' => 0,
          'category' => 0,
          'cache_type' => 0,
          'snippet' => '/**
 * If
 *
 * Copyright 2009-2010 by Jason Coward <jason@modx.com> and Shaun McCormick
 * <shaun@modx.com>
 *
 * If is free software; you can redistribute it and/or modify it under the terms
 * of the GNU General Public License as published by the Free Software
 * Foundation; either version 2 of the License, or (at your option) any later
 * version.
 *
 * If is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along with
 * If; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
 * Suite 330, Boston, MA 02111-1307 USA
 *
 * @package if
 */
/**
 * Simple if (conditional) snippet
 *
 * @package if
 */
if (!empty($debug)) {
    print_r($scriptProperties);
    if (!empty($die)) die();
}
$modx->parser->processElementTags(\'\',$subject,true,true);

$output = \'\';
$operator = !empty($operator) ? $operator : \'\';
$operand = !isset($operand) ? \'\' : $operand;
if (isset($subject)) {
    if (!empty($operator)) {
        $operator = strtolower($operator);
        switch ($operator) {
            case \'!=\':
            case \'neq\':
            case \'not\':
            case \'isnot\':
            case \'isnt\':
            case \'unequal\':
            case \'notequal\':
                $output = (($subject != $operand) ? $then : (isset($else) ? $else : \'\'));
                break;
            case \'<\':
            case \'lt\':
            case \'less\':
            case \'lessthan\':
                $output = (($subject < $operand) ? $then : (isset($else) ? $else : \'\'));
                break;
            case \'>\':
            case \'gt\':
            case \'greater\':
            case \'greaterthan\':
                $output = (($subject > $operand) ? $then : (isset($else) ? $else : \'\'));
                break;
            case \'<=\':
            case \'lte\':
            case \'lessthanequals\':
            case \'lessthanorequalto\':
                $output = (($subject <= $operand) ? $then : (isset($else) ? $else : \'\'));
                break;
            case \'>=\':
            case \'gte\':
            case \'greaterthanequals\':
            case \'greaterthanequalto\':
                $output = (($subject >= $operand) ? $then : (isset($else) ? $else : \'\'));
                break;
            case \'isempty\':
            case \'empty\':
                $output = empty($subject) ? $then : (isset($else) ? $else : \'\');
                break;
            case \'!empty\':
            case \'notempty\':
            case \'isnotempty\':
                $output = !empty($subject) && $subject != \'\' ? $then : (isset($else) ? $else : \'\');
                break;
            case \'isnull\':
            case \'null\':
                $output = $subject == null || strtolower($subject) == \'null\' ? $then : (isset($else) ? $else : \'\');
                break;
            case \'inarray\':
            case \'in_array\':
            case \'ia\':
                $operand = explode(\',\',$operand);
                $output = in_array($subject,$operand) ? $then : (isset($else) ? $else : \'\');
                break;
            case \'==\':
            case \'=\':
            case \'eq\':
            case \'is\':
            case \'equal\':
            case \'equals\':
            case \'equalto\':
            default:
                $output = (($subject == $operand) ? $then : (isset($else) ? $else : \'\'));
                break;
        }
    }
}
if (!empty($debug)) { var_dump($output); }
unset($subject);
return $output;',
          'locked' => false,
          'properties' => 
          array (
            'subject' => 
            array (
              'name' => 'subject',
              'desc' => 'The data being affected.',
              'type' => 'textfield',
              'options' => '',
              'value' => '',
              'lexicon' => NULL,
              'area' => '',
              'desc_trans' => 'The data being affected.',
              'area_trans' => '',
            ),
            'operator' => 
            array (
              'name' => 'operator',
              'desc' => 'The type of conditional.',
              'type' => 'list',
              'options' => 
              array (
                0 => 
                array (
                  'value' => 'EQ',
                  'text' => 'EQ',
                  'name' => 'EQ',
                ),
                1 => 
                array (
                  'value' => 'NEQ',
                  'text' => 'NEQ',
                  'name' => 'NEQ',
                ),
                2 => 
                array (
                  'value' => 'LT',
                  'text' => 'LT',
                  'name' => 'LT',
                ),
                3 => 
                array (
                  'value' => 'GT',
                  'text' => 'GT',
                  'name' => 'GT',
                ),
                4 => 
                array (
                  'value' => 'LTE',
                  'text' => 'LTE',
                  'name' => 'LTE',
                ),
                5 => 
                array (
                  'value' => 'GT',
                  'text' => 'GTE',
                  'name' => 'GTE',
                ),
                6 => 
                array (
                  'value' => 'EMPTY',
                  'text' => 'EMPTY',
                  'name' => 'EMPTY',
                ),
                7 => 
                array (
                  'value' => 'NOTEMPTY',
                  'text' => 'NOTEMPTY',
                  'name' => 'NOTEMPTY',
                ),
                8 => 
                array (
                  'value' => 'ISNULL',
                  'text' => 'ISNULL',
                  'name' => 'ISNULL',
                ),
                9 => 
                array (
                  'value' => 'inarray',
                  'text' => 'INARRAY',
                  'name' => 'INARRAY',
                ),
              ),
              'value' => 'EQ',
              'lexicon' => NULL,
              'area' => '',
              'desc_trans' => 'The type of conditional.',
              'area_trans' => '',
            ),
            'operand' => 
            array (
              'name' => 'operand',
              'desc' => 'When comparing to the subject, this is the data to compare to.',
              'type' => 'textfield',
              'options' => '',
              'value' => '',
              'lexicon' => NULL,
              'area' => '',
              'desc_trans' => 'When comparing to the subject, this is the data to compare to.',
              'area_trans' => '',
            ),
            'then' => 
            array (
              'name' => 'then',
              'desc' => 'If conditional was successful, output this.',
              'type' => 'textfield',
              'options' => '',
              'value' => '',
              'lexicon' => NULL,
              'area' => '',
              'desc_trans' => 'If conditional was successful, output this.',
              'area_trans' => '',
            ),
            'else' => 
            array (
              'name' => 'else',
              'desc' => 'If conditional was unsuccessful, output this.',
              'type' => 'textfield',
              'options' => '',
              'value' => '',
              'lexicon' => NULL,
              'area' => '',
              'desc_trans' => 'If conditional was unsuccessful, output this.',
              'area_trans' => '',
            ),
            'debug' => 
            array (
              'name' => 'debug',
              'desc' => 'Will output the parameters passed in, as well as the end output. Leave off when not testing.',
              'type' => 'combo-boolean',
              'options' => '',
              'value' => false,
              'lexicon' => NULL,
              'area' => '',
              'desc_trans' => 'Will output the parameters passed in, as well as the end output. Leave off when not testing.',
              'area_trans' => '',
            ),
          ),
          'moduleguid' => '',
          'static' => false,
          'static_file' => '',
          'content' => '/**
 * If
 *
 * Copyright 2009-2010 by Jason Coward <jason@modx.com> and Shaun McCormick
 * <shaun@modx.com>
 *
 * If is free software; you can redistribute it and/or modify it under the terms
 * of the GNU General Public License as published by the Free Software
 * Foundation; either version 2 of the License, or (at your option) any later
 * version.
 *
 * If is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along with
 * If; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
 * Suite 330, Boston, MA 02111-1307 USA
 *
 * @package if
 */
/**
 * Simple if (conditional) snippet
 *
 * @package if
 */
if (!empty($debug)) {
    print_r($scriptProperties);
    if (!empty($die)) die();
}
$modx->parser->processElementTags(\'\',$subject,true,true);

$output = \'\';
$operator = !empty($operator) ? $operator : \'\';
$operand = !isset($operand) ? \'\' : $operand;
if (isset($subject)) {
    if (!empty($operator)) {
        $operator = strtolower($operator);
        switch ($operator) {
            case \'!=\':
            case \'neq\':
            case \'not\':
            case \'isnot\':
            case \'isnt\':
            case \'unequal\':
            case \'notequal\':
                $output = (($subject != $operand) ? $then : (isset($else) ? $else : \'\'));
                break;
            case \'<\':
            case \'lt\':
            case \'less\':
            case \'lessthan\':
                $output = (($subject < $operand) ? $then : (isset($else) ? $else : \'\'));
                break;
            case \'>\':
            case \'gt\':
            case \'greater\':
            case \'greaterthan\':
                $output = (($subject > $operand) ? $then : (isset($else) ? $else : \'\'));
                break;
            case \'<=\':
            case \'lte\':
            case \'lessthanequals\':
            case \'lessthanorequalto\':
                $output = (($subject <= $operand) ? $then : (isset($else) ? $else : \'\'));
                break;
            case \'>=\':
            case \'gte\':
            case \'greaterthanequals\':
            case \'greaterthanequalto\':
                $output = (($subject >= $operand) ? $then : (isset($else) ? $else : \'\'));
                break;
            case \'isempty\':
            case \'empty\':
                $output = empty($subject) ? $then : (isset($else) ? $else : \'\');
                break;
            case \'!empty\':
            case \'notempty\':
            case \'isnotempty\':
                $output = !empty($subject) && $subject != \'\' ? $then : (isset($else) ? $else : \'\');
                break;
            case \'isnull\':
            case \'null\':
                $output = $subject == null || strtolower($subject) == \'null\' ? $then : (isset($else) ? $else : \'\');
                break;
            case \'inarray\':
            case \'in_array\':
            case \'ia\':
                $operand = explode(\',\',$operand);
                $output = in_array($subject,$operand) ? $then : (isset($else) ? $else : \'\');
                break;
            case \'==\':
            case \'=\':
            case \'eq\':
            case \'is\':
            case \'equal\':
            case \'equals\':
            case \'equalto\':
            default:
                $output = (($subject == $operand) ? $then : (isset($else) ? $else : \'\'));
                break;
        }
    }
}
if (!empty($debug)) { var_dump($output); }
unset($subject);
return $output;',
        ),
        'policies' => 
        array (
          'web' => 
          array (
          ),
        ),
        'source' => 
        array (
        ),
      ),
    ),
    'modTemplateVar' => 
    array (
      'story-hero' => 
      array (
        'fields' => 
        array (
          'id' => 1,
          'source' => 1,
          'property_preprocess' => false,
          'type' => 'image',
          'name' => 'story-hero',
          'caption' => 'Enter the Success Story main image here',
          'description' => '',
          'editor_type' => 0,
          'category' => 0,
          'locked' => false,
          'elements' => '',
          'rank' => 0,
          'display' => 'text',
          'default_text' => '',
          'properties' => 
          array (
          ),
          'input_properties' => 
          array (
          ),
          'output_properties' => 
          array (
          ),
          'static' => false,
          'static_file' => '',
          'content' => '',
        ),
        'policies' => 
        array (
          'web' => 
          array (
          ),
        ),
        'source' => 
        array (
          'id' => 1,
          'name' => 'Filesystem',
          'description' => '',
          'class_key' => 'sources.modFileMediaSource',
          'properties' => 
          array (
          ),
          'is_stream' => true,
        ),
      ),
      'sidebar' => 
      array (
        'fields' => 
        array (
          'id' => 7,
          'source' => 1,
          'property_preprocess' => false,
          'type' => 'richtext',
          'name' => 'sidebar',
          'caption' => 'Enter the Sidebar HTML here',
          'description' => '',
          'editor_type' => 0,
          'category' => 0,
          'locked' => false,
          'elements' => '',
          'rank' => 0,
          'display' => 'default',
          'default_text' => '',
          'properties' => 
          array (
          ),
          'input_properties' => 
          array (
          ),
          'output_properties' => 
          array (
          ),
          'static' => false,
          'static_file' => '',
          'content' => '',
        ),
        'policies' => 
        array (
          'web' => 
          array (
          ),
        ),
        'source' => 
        array (
          'id' => 1,
          'name' => 'Filesystem',
          'description' => '',
          'class_key' => 'sources.modFileMediaSource',
          'properties' => 
          array (
          ),
          'is_stream' => true,
        ),
      ),
    ),
  ),
);

Spamworldpro Mini