Code Duplication    Length = 3-3 lines in 2 locations

class/utilities.php 2 locations

@@ 2839-2841 (lines=3) @@
2836
            && 0 == $published['offline']
2837
        ) {
2838
            $published_status = $xtubeImageArray['online'];
2839
        } elseif (($published['expired'] && $published['expired'] < time()) && 0 == $published['offline']) {
2840
            $published_status = $xtubeImageArray['expired'];
2841
        } else {
2842
            $published_status = (0 == $published['published']) ? '<a href="newvideos.php">' . $xtubeImageArray['offline'] . '</a>' : $xtubeImageArray['offline'];
2843
        }
2844
@@ 2950-2952 (lines=3) @@
2947
        ) {
2948
            //        $published_status = $xtubeImageArray['online'];
2949
            $published_status = '<a href="main.php?op=toggle&amp;lid=' . $lid . '&amp;offline=' . $published['offline'] . '"><img src="' . $pathIcon16 . '/1.png' . '" /></a>';
2950
        } elseif (($published['expired'] && $published['expired'] < time()) && $published['offline'] == 0) {
2951
            $published_status = $xtubeImageArray['expired'];
2952
        } else {
2953
            $published_status = ($published['published'] == 0) ? ('<a href="newvideos.php">' . $xtubeImageArray['offline'] . '</a>') : ('<a href="main.php?op=toggle&amp;lid=' . $lid . '&amp;offline='
2954
                                                                                                                                        . $published['offline'] . '"><img src="' . $pathIcon16
2955
                                                                                                                                        . '/0.png' . '" /></a>');