<%~ set title = "Modify a Link" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
  <title><%site_title%>: <%title%></title>
<%include include_common_head.html%>
</head>
<body id="modify_select">
<body id="modify">
  <%~if ad_wallpaper%>
  <%ad_wallpaper%>
  <%~endif%>
  <div class="container">
    <%include include_header.html%>
    <div class="main">
      <div class="contentwrapper clearfix">
        <div class="breadcrumb">
          <%Links::Utils::format_title($main_title_loop, separator => ' > ', no_escape_separator => $no_escape_crumb_separator, include_home => 1, link_type => 2)%>
        </div>

        <div class="content"><%-- start content--%>
          <h1><% title %></h1>
          <p>
          Please select which link you would like to modify:
          </p>

          <%if paging.num_hits%><div class="paging"><%Links::Utils::paging()%></div><%endif%>

          <form action="<%config.db_cgi_url%>/modify.cgi" method="post">
            <%~loop link_results_loop%>
            <input type="radio" name="LinkID" value="<%escape_html ID%>" class="radio"<%if isValidated eq No or isExpired or isUnpaid%> disabled="disabled"<%endif%> />
            <%include link.html%>
            <%~endloop%>
            <input type="submit" value="Modify Link" class="submit" />
          </form>

          <%if paging.num_hits%><div class="paging"><%Links::Utils::paging(button_id => 'paging_button2')%></div><%endif%>

        </div><%-- end content --%>
      </div>
    </div>
    <%include include_footer.html%>
  </div>
</body>
<%~include include_global_js.html%>
</html>
