\n"; /*** DISPLAY EXISTING SONGS TABLE ***/ echo "

" .__('Existing Songs:', $i18n_domain). "

\n" . "
" . "
"; if ($song->loadAll('name ASC')->getTotalRows() === 0) { echo " \n" . " \n" . " \n"; } else { for($i = 0; $i < $song->getTotalRows(); $i++) { $song->loadByNode($i); echo " "; } } echo " \n" . "
# " .__("Track", $i18n_domain). " " .__("Artist", $i18n_domain). " " .__("Song Name", $i18n_domain). " " .__("Price", $i18n_domain). " " .__("Explicit", $i18n_domain). " " .__("Actions", $i18n_domain). "
\n" . __('No Songs Available in the Database!', $i18n_domain) . "\n
$song->id $song->number " .stripslashes($artist->loadById($song->artist_id)->name) . " " .stripslashes($song->name). " $song->price " .(($song->explicit) ? "YES" : "NO"). " "; /* Edit Button */ echo '
' . " " . '
'; /* Delete Button */ echo '
' . " " . '
' . "
\n" . "\n"; unset($artist); unset($song); ?>