$slider stopped working

Hi All,

Sorry if this posted twice!

Looks like my slider went down on a site I didn’t build but now manage. This may be a super quick fix, but I’m more of a designer and don’t know PHP very well.

[php]<?php // Start the banner
$slides = get_cft_repeating_data(‘slide’);
$slidelinks = array( // Set some of the content here
array (
“/treatments/knee-injections/”,
“Knee Injections”
), array (
“/patient-info/am-i-a-candidate/”,
“Am I A Candidate?”
), array (
“/team/”,
“Our Team”
)
); ?>


    <?php foreach ($slides as $s => $v) { if( !empty($slides[$s]['slide_headline']) ) $headline = $slides[$s]['slide_headline']; if( !empty($slides[$s]['slide_block']) ) $text = $slides[$s]['slide_block']; echo '
  • '.$headline.'

    '.wpautop($text).' Find out More »
    '.$slidelinks[$s-1][1].'
  • '; } // End second foreach loop ?>
			</ul>
			<ul id="bannerImages">
<?php foreach ($slides as $s => $v) { echo '
  • '; } // End first foreach loop ?>
    			</ul>
    			<div class="contain"></div>
    		</div><!-- #Banner -->[/php]
    Sponsor our Newsletter | Privacy Policy | Terms of Service