Advertisement
Guest User

cu3er.php

a guest
Apr 2nd, 2012
25
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php header('Content-type:text/xml'); ?> <?php echo '<?xml version="1.0" encoding="utf-8" ?>'; ?> <cu3er>     <settings>       <auto_play>             <defaults symbol="circular"/>           <tweenIn x="840" y="25" width="30" height="30" tint="0x000000" alpha="0.5"/>            <tweenOver alpha="1"/>      </auto_play>        <prev_button>           <defaults round_corners="5,5,5,5"/>             <tweenIn x="30" y="100" width="40" height="40" alpha="0.45"/>           <tweenOver tint="0xFFFFFF" scaleX="1" scaleY="1"/>          <tweenOut tint="0x000000" />        </prev_button>              <prev_symbol>           <defaults type="2" />           <tweenIn x="30" y="100" />          <tweenOver tint="0x000000" />           </prev_symbol>              <next_button>           <defaults round_corners="5,5,5,5"/>             <tweenIn x="830" y="100" width="40" height="40" alpha="0.45"/>          <tweenOver tint="0xFFFFFF"  scaleX="1" scaleY="1"/>             <tweenOut tint="0x000000" />        </next_button>              <next_symbol>           <defaults type="2" />           <tweenIn x="830" y="100" />             <tweenOver tint="0x000000" />       </next_symbol>                              <description>       <defaults               round_corners="10,10,10,10"                                 heading_font="Georgia"              heading_text_size="18"              heading_text_color="0xffffff"           heading_text_margin="10,15,0,15"                        paragraph_font="Arial"              paragraph_text_size="12"            paragraph_text_color="0xffffff"             paragraph_text_margin="5,15,10,15"      />              <tweenIn x="10" y="145" width="840" height="95" delay="0.2" alpha="0.45"/>      <tweenOver alpha="0.8"/>        </description>       </settings>     <slides> <?php     $gldcat = get_option('omg_gldcat');     $gldct = get_option('omg_gldct');   $my_query = new WP_Query('category_name='.$gldcat.'&showposts='.$gldct.'');     while ($my_query->have_posts()) : $my_query->the_post();$do_not_duplicate = $post->ID; ?> <?php $preview = get_post_meta($post->ID, 'gallery', $single = true); ?> <slide>      <url> <?php echo $preview; ?></url>       <link target="_self"><?php the_permalink() ?></link>           </slide> <?php $slice_value = array("horizontal","vertical"); $rand_slice_keys = array_rand($slice_value, 2); $direction_value = array("left","right","up","down"); $rand_direction_keys = array_rand($direction_value, 4); ?> <transition num="<?php echo(rand(1,3));?>" slicing="<?php echo($slice_value[$rand_slice_keys[rand(0, 1)]]);?>" direction="<?php echo($direction_value[$rand_direction_keys[rand(0, 3)]]); ?>" shader="phong" delay="0.08" z_multiplier="6" />  <?php endwhile; ?>         <?php wp_reset_query(); ?>  </slides> </cu3er>
Advertisement
RAW Paste Data Copied
Advertisement