- labels: --> GCDB-Reloaded
- priority: 5 --> 3
- assigned_to: nobody --> challgren
On the publicprofile.php page when a customer logs in,
it would be nice for each item to list the domain name
associated with it.
You can do this by changing this line:
printf \("<tr class='$class'> <td align='center'><a
href='showaccounts.php?AccountID=%s&CustomerID=%s'>%s</a></td>
<td>%s</td> <td>%s</td> <td>%s</td> <td>%.2f</td>
</tr>\n", $account_row["AccountID"],
$account_row["CustomerID"], $account_row["AccountID"],
$pack_row["Description"], $account_row["Status"],
$charged, $total_price);
to this line:
printf \(&quot;&lt;tr class='$class'&gt; &lt;td align='center'&gt;&lt;a
href='showaccounts.php?AccountID=%s&CustomerID=%s'>%s</a></td>
<td>%s</td> <td>%s</td> <td>%s</td> <td>%.2f</td>
</tr>\n", $account_row["AccountID"],
$account_row["CustomerID"], $account_row["AccountID"],
$pack_row["Description"], $account_row["Domain"],
$account_row["Status"], $charged, $total_price);
And this line:
echo ("<tr><td><b>&nbsp;$lID&nbsp;</b></td>
<td><b>$lDescription</b></td> <td><b>$lStatus</b></td>
<td><b>$lCharged</b></td></tr>\n");
to this:
echo \(&quot;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&amp;nbsp;$lID&amp;nbsp;&lt;/b&gt;&lt;/td&gt;
<td><b>$lDescription</b></td> <td><b>$lDomain</b></td>
<td><b>$lStatus</b></td>
<td><b>$lCharged</b></td></tr>\n");
Really simple :)
Matt Shields
Cyberbite Web Hosting
http://www.cyberbite.com
matt [ at ] cyberbite [dot] com