Code Duplication    Length = 3-3 lines in 2 locations

class/utility.php 2 locations

@@ 2863-2865 (lines=3) @@
2860
            && 0 == $published['offline']
2861
        ) {
2862
            $published_status = $xtubeImageArray['online'];
2863
        } elseif (($published['expired'] && $published['expired'] < time()) && 0 == $published['offline']) {
2864
            $published_status = $xtubeImageArray['expired'];
2865
        } else {
2866
            $published_status = (0 == $published['published']) ? '<a href="newvideos.php">' . $xtubeImageArray['offline'] . '</a>' : $xtubeImageArray['offline'];
2867
        }
2868
@@ 2979-2981 (lines=3) @@
2976
        ) {
2977
            //        $published_status = $xtubeImageArray['online'];
2978
            $published_status = '<a href="main.php?op=toggle&amp;lid=' . $lid . '&amp;offline=' . $published['offline'] . '"><img src="' . $pathIcon16 . '/1.png' . '" /></a>';
2979
        } elseif (($published['expired'] && $published['expired'] < time()) && $published['offline'] === 0) {
2980
            $published_status = $xtubeImageArray['expired'];
2981
        } else {
2982
            $published_status = ($published['published'] === 0) ? '<a href="newvideos.php">' . $xtubeImageArray['offline'] . '</a>' : '<a href="main.php?op=toggle&amp;lid='
2983
                                                                                                                                      . $lid
2984
                                                                                                                                      . '&amp;offline='