<?

if (!defined('INDEXU')) {
  exit;
}

// read setting.php in active theme
if (strpos($theme_path, "/themes/" . $active_theme) === FALSE) {
  include $theme_path . $active_theme . "/setting.php";
}
else {
  include $theme_path . "/setting.php";
}



$no_image_file = 'admin_tpl/images/transparent.gif';



$msg['30001'] = '<input type=text name="<%$field_name%>" size=40 value="<%$field_value%>" class=textbg>';

$msg['30002'] = '<textarea name="<%$field_name%>" cols=40 rows=6><%$field_value%></textarea><br>';

$msg['30003'] = '<%$field_name%> : <%$field_value%><br>';

$msg['30004'] = '
  <%if $field_value != "'.$no_image_file.'"%>
  <img src="../<%$field_value%>?'.md5(uniqid(rand(), true)).'">
  <br>
  <br>
  <%/if%>
  <input class=textbg type=file name="<%$field_name%>">
  <%if $field_value != "'.$no_image_file.'"%>
  <br>
  <br>
  <input type="checkbox" name="<%$field_name%>_del" value="1">Check to remove
  <%/if%>
';

$msg['30005'] = '<input class=textbg type=file name="<%$field_name%>">';

$msg['30006'] = '
  <%if $field_value%>
  <a href="../<%$field_value%>"><%$field_value%></a>
  <br>
  <br>
  <%/if%>
  <input class=textbg type=file name="<%$field_name%>">
  <%if $field_value%>
  <br>
  <br>
  <input type="checkbox" name="<%$field_name%>_del" value="1">Check to remove
  <%/if%>
';

$msg['30007'] = '<select name="<%$field_name%>"><%$field_option%></select><br>';

$msg['30008'] = '<select name="<%$field_name%>[]" size="5" multiple><%$field_option%></select><br>';

$msg['30009'] = '<input type="checkbox" name="<%$field_name%>[]" value="<%$field_value%>" <%$checked%> style="{vertical-align: middle}"><%$field_text%><br>';

$msg['30010'] = '<input type="radio" name="<%$field_name%>" value="<%$field_value%>" <%$checked%> style="{vertical-align: middle}"><%$field_text%>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;';

$msg['30011'] = '
      <input class=textbg type="text" name="<%$field_name%>" size="40" maxlength="10" id="<%$field_name%>" value="<%$field_value%>">
      <img src="../admin_tpl/images/calendar.gif" id="b_<%$field_name%>" style="cursor: pointer;" align="absmiddle">
      <script type="text/javascript">
        Calendar.setup(
          {
            inputField : "<%$field_name%>",
            ifFormat : "%Y-%m-%d",
            button : "b_<%$field_name%>",
            weekNumbers : false,
            step : 1
          }
        );
      </script>
';

$msg['30012'] = '
      <input class=textbg type="text" name="<%$field_name%>" size="40" maxlength="19" id="<%$field_name%>" value="<%$field_value%>">
      <img src="../admin_tpl/images/calendar.gif" id="b_<%$field_name%>" style="cursor: pointer;" align="absmiddle">
      <script type="text/javascript">
        Calendar.setup(
          {
            inputField : "<%$field_name%>",
            ifFormat : "%Y-%m-%d %H:%M:%S",
            button : "b_<%$field_name%>",
            showsTime : true,
            weekNumbers : false,
            step : 1
          }
        );
      </script>
';

$msg['30015'] = '<p>You need to perform <a href=app_update_nol.php>Update Number of Links</a>
  in order to update the number links in each category.
  Depend on how many
  categories do you have it could be a few seconds to minutes.
  To save your time, you may
  perform this action once after you have done with adding, editing, deleting,
  or validating links.';

$msg['30016'] = '<p>You need to perform <a href=cat_path_update.php>Update Category Path</a>
  in order to update category path.
  Depend on how many
  categories do you have it could be seconds to minutes.
  To save your time, you may
  perform this action once after you have done with adding, editing, or deleting
  categories.';

$msg['20011'] = 'Yes,No';

$msg['20012'] = '1,0';

$msg['20013'] = 'No need editor\'s approval,Require editor\'s approval,Not allowed';

$msg['20014'] = '0,1,2';

$msg['20015'] = 'Yes,No';

$msg['20016'] = '1,0';

$msg['20017'] = 'New category has been added.';

$msg['20021'] = 'The name of category is required.';

$msg['20031'] = '<a href=cat_view.php>Top</a>';

$msg['20041'] = '<%$category%> .... <font color=green>deleted</font><br>';

$msg['20042'] = '<%$category%> .... <font color=red><b>failed :</b> There\'re links inside this category</font><br>';

$msg['20043'] = 'There\'s no category deleted.';

$msg['20051'] = 'Category has been changed.';

$msg['20052'] = 'Category default price has been set.';

$msg['20061'] = '
      <tr>
        <td class=tbl_caption colspan=2>
          Custom Fields
        </td>
      </tr>';

$msg['20062'] = 'New link has been added.';

$msg['20071'] = 'Title field is required.';

$msg['20072'] = 'Url field is required.';

$msg['20073'] = 'Category field is required.';

$msg['20074'] = 'Invalid email pattern.';

$msg['20075'] = 'Bid value must be in currency format.';

$msg['20081'] = 'd-M-Y';

$msg['20091'] = '<%$title%> .... <font color=green>deleted</font><br>';

$msg['20092'] = 'There\'s no link deleted.';

$msg['20101'] = 'Link has been changed.';

$msg['20111'] = '
      <tr>
        <td class=tbl_caption colspan=2>
          Custom Fields
        </td>
      </tr>';

$msg['20121'] = '<%$title%> .... <font color=green>Approved</font><br>';

$msg['20122'] = 'There\'s no link approved nor rejected.';

$msg['20123'] = '<%$title%> .... <font color=green>Rejected</font><br>';

$msg['20130'] = $lang['resource_added'];

$msg['20131'] = $lang['resource_approved'];

$msg['20133'] = $lang['link_approved'];

$msg['20135'] = $lang['resource_rejected'];

$msg['20137'] = $lang['link_rejected'];

$msg['20141'] = '<%$title%> .... <font color=green>Approved</font><br>';

$msg['20142'] = 'There\'s no review approved nor rejected.';

$msg['20143'] = '<%$title%> .... <font color=green>Rejected</font><br>';

$msg['20144'] = 'd-M-Y';

$msg['20145'] = 'Subject field is required.';

$msg['20146'] = 'Review field is required.';

$msg['20147'] = 'Rating field is required.';

$msg['20151'] = 'Username is required.';

$msg['20152'] = 'Username must be at least 3 characters.';

$msg['20153'] = 'Password is required.';

$msg['20154'] = 'Email address is required.';

$msg['20155'] = 'Invalid email address pattern.';

$msg['20156'] = 'Username already exist.';

$msg['20157'] = 'Username must be alphanumeric.';

$msg['20161'] = 'New user has been added.';

$msg['20171'] = 'Password is required.';

$msg['20172'] = 'Email address is required.';

$msg['20173'] = 'Invalid email address pattern.';

$msg['20181'] = 'User\'s profile has been changed.';

$msg['20191'] = '<%$username%> .... <font color=green>deleted</font><br>';

$msg['20192'] = 'There\'s no user deleted.';

$msg['20201'] = 'Category is required.';

$msg['20202'] = 'Username is required.';

$msg['20203'] = 'Username does not exist.';

$msg['20204'] = 'Username already become an editor for this category.';

$msg['20205'] = 'Administrator is not allowed to be an editor.';

$msg['20211'] = 'New editor has been added.';

$msg['20221'] = '<%$username%> .... <font color=green>Approved</font><br>';

$msg['20222'] = 'There\'s no editor approved nor rejected.';

$msg['20223'] = '<%$username%> .... <font color=green>Rejected</font><br>';

$msg['20231'] = 'd-M-Y';

$msg['20241'] = '<%$username%> has been removed as editor for category <%$category%>.';

$msg['20242'] = 'Editor Approved.';

$msg['20244'] = 'Editor Rejected.';

$msg['20251'] = 'd-M-Y';

$msg['20261'] = '<%$title%> .... <font color=green>deleted</font><br>';

$msg['20262'] = 'There\'s no report or link deleted.';

$msg['20271'] = 'Message subject is required.';

$msg['20272'] = 'Message body is required.';

$msg['20281'] = 'New message has been created.';

$msg['20291'] = 'd-M-Y';

$msg['20301'] = 'Mail subject is required.';

$msg['20302'] = 'Mail body is required.';

$msg['20311'] = 'Mail template has been changed.';

$msg['20321'] = 'Mail template has been deleted.';

$msg['20341'] = 'Mail has been sent to following emails :';

$msg['20342'] = 'No recipient found.';

$msg['20351'] = 'Subscriber has been deleted.';

$msg['20361'] = 'Field name is required.';

$msg['20362'] = 'Field type is required.';

$msg['20363'] = 'Field name must not contains space or symbol.';

$msg['20371'] = 'New field has been added.';

$msg['20372'] = 'Field has been deleted.';

$msg['20373'] = 'Query executed.';

$msg['20374'] = 'Query failed (<%$mysql_error%>).';

$msg['20375'] = 'Field has been changed.';

$msg['20376'] = ' (inserted records : <%$affected_rows%>).';

$msg['20377'] = ' (updated records : <%$affected_rows%>).';

$msg['20378'] = ' (deleted records : <%$affected_rows%>).';

$msg['20381'] = 'Indexu can\'t find executable files.';

$msg['20382'] = 'Indexu can\'t find admin template files.';

$msg['20383'] = 'Indexu can\'t find theme files.';

$msg['20384'] = 'Application setting has been changed.';

$msg['20391'] = 'Prensent password is required.';

$msg['20392'] = 'New password is required.';

$msg['20393'] = 'Confirmation new password is required.';

$msg['20394'] = 'new password and confirmation is not the same.';

$msg['20401'] = 'Change password failed.';

$msg['20402'] = 'Password has been changed.';

$msg['20421'] = 'Template file has been changed.';

$msg['20422'] = 'Template file has been deleted.';

$msg['20423'] = 'Theme has been activated.';

$msg['20424'] = 'Theme has been deleted.';

$msg['20425'] = 'Can not delete theme files because it is currently active.';

$msg['20426'] = 'Theme has been duplicated.';

$msg['20427'] = 'Theme has been renamed.';

$msg['20428'] = 'Theme has been imported.';

$msg['20431'] = 'Image file has been removed.';

$msg['20432'] = 'Image file is not exist.';

$msg['20441'] = 'Image file has been uploaded.';

$msg['20442'] = 'The file extension is not allowed.';

$msg['20443'] = 'Unable to copy file.';

$msg['20451'] = 'Mod-rewrite has been updated.<br>You need to perform <a href=cat_path_update.php>Update Category Path</a> now.';

$msg['20461'] = 'Due date is required.';

$msg['20462'] = 'Invoiced to is required.';

$msg['20463'] = 'Service is required.';

$msg['20464'] = 'Description is required.';

$msg['20465'] = 'Total is required.';

$msg['20466'] = 'Company name is required.';

$msg['20467'] = 'Contact is required.';

$msg['20468'] = 'Address is required.';

$msg['20469'] = 'Currency symbol is required.';

$msg['20470'] = 'Currency code is required.';

$msg['20471'] = 'Cache time is updated.';

$msg['20472'] = 'All cache files deleted.';

$msg['20481'] = 'Invoice has been updated.';

$msg['20482'] = 'Invoice has been deleted.';

$msg['20483'] = 'Invoice has been sent.';

$msg['20484'] = 'New invoice has been created. <a href=inv_unpaid.php>View unpaid invoice.</a>';

$msg['20485'] = 'Configuration file is updated.';

$msg['20486'] = 'Invoice is paid now. See <a href=inv_paid.php>Paid Invoice.</a>';

$msg['20487'] = 'Invoice configuration has been updated.';

$msg['20488'] = 'Invoice is become unpaid now. See <a href=inv_unpaid.php>Unpaid Invoice.</a>';

$msg['20491'] = 'Category order, basic, premium, and sponsored listing price has been updated.';

$msg['20492'] = 'Category path has been updated.';

$msg['20493'] = 'There\'s no problem found in category structure.';

$msg['20501'] = 'Number of Links has been updated.';

$msg['20511'] = 'Link has been updated.';

$msg['20521'] = 'Review has changed.';

$msg['20531'] = 'Database restored successfully.';

$msg['20541'] = 'DMOZ .rdf does not have mailing list data. You can only import category and link table.';

$msg['20542'] = 'INDEXU Lite Edition does not have mailing list data. You can only import category and link table.';

$msg['20543'] = 'You can only import GT Links 2.0 category and link table.';

$msg['20544'] = 'You can only import Extreme Dmoz Extractor category and link table.';

?>